Skip to content

Commit af8b97a

Browse files
committed
Update windows test path for Ninja
1 parent c5a3376 commit af8b97a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

backtrace/test/test_windows.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44

55
class TestLinux < Minitest::Test
66
def test_crashpad_uploads
7-
result = Crashpad::perform_test executable: 'examples/windows/demo/Debug/demo_windows.exe'
7+
if (File.file?('examples/windows/demo/Debug/demo_windows.exe'))
8+
tests_path = 'examples/windows/demo/Debug/demo_windows.exe')
9+
else
10+
tests_path = 'examples/windows/demo/demo_windows.exe')
11+
end
12+
result = Crashpad::perform_test executable: tests_path
813
assert result
914
assert result.has_key? :upload
1015

0 commit comments

Comments
 (0)