mirror of
https://github.com/yawut/SDL.git
synced 2026-08-01 16:04:37 -05:00
Option --show-tests prints test description.
This commit is contained in:
parent
bfd6031522
commit
681d72d5f1
|
|
@ -142,7 +142,8 @@ void
|
|||
PlainTestStarted(const char *testName, const char *suiteName,
|
||||
const char *testDescription, Uint64 execKey, time_t startTime)
|
||||
{
|
||||
Output(indentLevel++, "Executing test: %s (in %s). Exec key: %llX", testName, suiteName, execKey);
|
||||
Output(indentLevel, "Executing test: %s (in %s). Exec key: %llX", testName, suiteName, execKey);
|
||||
Output(indentLevel++, "Test description: %s", testDescription);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
|
|
@ -1362,7 +1362,7 @@ main(int argc, char *argv[])
|
|||
if(only_print_tests) {
|
||||
TestCase *testItem = NULL;
|
||||
for(testItem = testCases; testItem; testItem = testItem->next) {
|
||||
printf("%s (in %s)\n", testItem->testName, testItem->suiteName);
|
||||
printf("%s (in %s) - %s\n", testItem->testName, testItem->suiteName, testItem->description);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user