diff --git a/backtrace/test/test_windows.rb b/backtrace/test/test_windows.rb index 730ccdf9..07c2a59d 100755 --- a/backtrace/test/test_windows.rb +++ b/backtrace/test/test_windows.rb @@ -4,7 +4,12 @@ class TestLinux < Minitest::Test def test_crashpad_uploads - result = Crashpad::perform_test executable: 'examples/windows/demo/Debug/demo_windows.exe' + if (File.file?('examples/windows/demo/Debug/demo_windows.exe')) + tests_path = 'examples/windows/demo/Debug/demo_windows.exe' + else + tests_path = 'examples/windows/demo/demo_windows.exe' + end + result = Crashpad::perform_test executable: tests_path assert result assert result.has_key? :upload