Skip to content

Commit

Permalink
Run PROCESS isolated tests in 32-bit (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
slozier authored Oct 31, 2019
1 parent 653aecb commit a99d8f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Build/steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ steps:

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

- task: PublishTestResults@2
Expand Down
5 changes: 4 additions & 1 deletion Src/IronPythonTest/Cases/CaseExecuter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,14 @@ private static string Executable {
if (File.Exists(runner)) return runner;
}
#else
if (Environment.Is64BitOperatingSystem && IntPtr.Size == 4) {
runner = Path.Combine(folder, "ipy32.exe");
if (File.Exists(runner)) return runner;
}
runner = Path.Combine(folder, "ipy.exe");
if (File.Exists(runner)) return runner;
#endif
throw new FileNotFoundException();

}
}

Expand Down

0 comments on commit a99d8f1

Please sign in to comment.