mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 08:57:40 +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
44adab7dfd
commit
022ff075b9
2 changed files with 2 additions and 2 deletions
|
@ -133,7 +133,7 @@ int main(int argc, char *argv[])
|
|||
SDL_Log("Test suite: %s", testSuite->name);
|
||||
for (testCounter = 0; testSuite->testCases[testCounter]; ++testCounter) {
|
||||
const SDLTest_TestCaseReference *testCase = testSuite->testCases[testCounter];
|
||||
SDL_Log(" test: %s", testCase->name);
|
||||
SDL_Log(" test: %s%s", testCase->name, testCase->enabled ? "" : " (disabled)");
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue