mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 04:55:34 +00:00
test: When listing test-cases, say which ones are disabled
When a test has been disabled because it's known not to work reliably or it's a test for unimplemented functionality, we probably don't want to encourage developers and testers to run it and report its failures as a bug. Helps: #8798, #8800 Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
d3c21666de
commit
64754f3a2a
|
@ -494,7 +494,7 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
|
||||||
/* Within each suite, loop over all test cases to check if we have a filter match */
|
/* Within each suite, loop over all test cases to check if we have a filter match */
|
||||||
for (testCounter = 0; testSuite->testCases[testCounter]; ++testCounter) {
|
for (testCounter = 0; testSuite->testCases[testCounter]; ++testCounter) {
|
||||||
testCase = testSuite->testCases[testCounter];
|
testCase = testSuite->testCases[testCounter];
|
||||||
SDLTest_Log(" test: %s", testCase->name);
|
SDLTest_Log(" test: %s%s", testCase->name, testCase->enabled ? "" : " (disabled)");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SDLTest_Log("Exit code: 2");
|
SDLTest_Log("Exit code: 2");
|
||||||
|
|
Loading…
Reference in a new issue