Skip to content

Commit a99d8f1

Browse files
authored
Run PROCESS isolated tests in 32-bit (#683)
1 parent 653aecb commit a99d8f1

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Build/steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ steps:
8686

8787
# 32-bit tests on Windows only
8888
- ${{ if eq(parameters.os, 'Windows') }}:
89-
- powershell: ./make.ps1 -platform x86 test-all
89+
- powershell: ./make.ps1 -frameworks net45 -platform x86 test-all
9090
displayName: Test 32-bit
9191

9292
- task: PublishTestResults@2

Src/IronPythonTest/Cases/CaseExecuter.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@ private static string Executable {
3939
if (File.Exists(runner)) return runner;
4040
}
4141
#else
42+
if (Environment.Is64BitOperatingSystem && IntPtr.Size == 4) {
43+
runner = Path.Combine(folder, "ipy32.exe");
44+
if (File.Exists(runner)) return runner;
45+
}
4246
runner = Path.Combine(folder, "ipy.exe");
4347
if (File.Exists(runner)) return runner;
4448
#endif
4549
throw new FileNotFoundException();
46-
4750
}
4851
}
4952

0 commit comments

Comments
 (0)