Skip to content

Commit

Permalink
Update windows test path for Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
janisozaur committed Feb 25, 2023
1 parent c5a3376 commit 233f016
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion backtrace/test/test_windows.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 233f016

Please sign in to comment.