mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 13:00:15 +02:00
Test running scripts tell ctest of skipped tests
CMake sets 125 as the skipped test exit code that the scripts use.
This commit is contained in:
1 parent
9201ac5a6b
commit
b1ec50c7c2
9 files changed
+12
-9
No files matched your search
@@ -55,8 +55,8 @@ for i in range(len(sys.argv) - args_start_index):
|
||||
RunnerArgs.append(sys.argv[args_start_index + i])
|
||||
|
||||
if (disabled_tests.get(current_test)):
|
||||
print("Skipping", current_test)
|
||||
sys.exit(0)
|
||||
# This error code tells ctest that the test was skipped
|
||||
sys.exit(125)
|
||||
|
||||
# Run the test and wait for it to end to get the result
|
||||
Process = subprocess.Popen(RunnerArgs)
|
||||
@@ -74,4 +74,3 @@ if (known_failures.get(current_test)):
|
||||
else:
|
||||
# Just return the result code if we don't have this test as a known failure
|
||||
sys.exit(ResultCode);
|
||||
|
||||
Reference in new issue
Block a user