From 233f016787dabf8d77b02d6e5a7f694f316e7842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sat, 25 Feb 2023 23:28:49 +0100 Subject: [PATCH] Update windows test path for Ninja --- backtrace/test/test_windows.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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