Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Option --show-tests prints test description.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkauppila committed Aug 28, 2011
1 parent 254515c commit 1e85b6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/test-automation/src/libSDLtest/plain_logger.c
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/test-automation/src/runner/runner.c
Expand Up @@ -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;
Expand Down

0 comments on commit 1e85b6f

Please sign in to comment.