Skip to content

Commit

Permalink
Use ipy32 process for testing on 32-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
slozier committed Nov 19, 2024
1 parent 3c429f1 commit 76868f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/IronPythonTest/Cases/CaseExecuter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private static string Executable {
var folder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string runner;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) {
runner = Path.Combine(folder, "ipy.exe");
runner = Path.Combine(folder, IntPtr.Size == 4 ? "ipy32.exe" : "ipy.exe");
if (File.Exists(runner)) return runner;
} else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) || RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) {
runner = Path.Combine(folder, "ipy");
Expand Down

0 comments on commit 76868f3

Please sign in to comment.