Commit 103124ac authored by Markus Kauppila's avatar Markus Kauppila

Option --show-tests prints test description.

parent 877c3910
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment