From 76868f3942da6f5648311d3b9ae75a02a02fd850 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Lozier?= Date: Tue, 19 Nov 2024 17:33:05 -0500 Subject: [PATCH] Use ipy32 process for testing on 32-bit --- Src/IronPythonTest/Cases/CaseExecuter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/IronPythonTest/Cases/CaseExecuter.cs b/Src/IronPythonTest/Cases/CaseExecuter.cs index d75cbc047..df0f9a9c2 100644 --- a/Src/IronPythonTest/Cases/CaseExecuter.cs +++ b/Src/IronPythonTest/Cases/CaseExecuter.cs @@ -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");