Skip to content

Commit a1b12fc

Browse files
committed
Use ipy32 process for testing on 32-bit
1 parent 1b1d67c commit a1b12fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/IronPythonTest/Cases/CaseExecuter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private static string Executable {
3030
var folder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
3131
string runner;
3232
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) {
33-
runner = Path.Combine(folder, "ipy.exe");
33+
runner = Path.Combine(folder, IntPtr.Size == 4 ? "ipy32.exe" : "ipy.exe");
3434
if (File.Exists(runner)) return runner;
3535
} else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) {
3636
runner = Path.Combine(folder, "ipy");

0 commit comments

Comments
 (0)