Option --show-tests prints test description.
This commit is contained in:
parent
877c391020
commit
103124ac9f
2 changed files with 3 additions and 2 deletions
|
@ -142,7 +142,8 @@ void
|
||||||
PlainTestStarted(const char *testName, const char *suiteName,
|
PlainTestStarted(const char *testName, const char *suiteName,
|
||||||
const char *testDescription, Uint64 execKey, time_t startTime)
|
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
|
void
|
||||||
|
|
|
@ -1362,7 +1362,7 @@ main(int argc, char *argv[])
|
||||||
if(only_print_tests) {
|
if(only_print_tests) {
|
||||||
TestCase *testItem = NULL;
|
TestCase *testItem = NULL;
|
||||||
for(testItem = testCases; testItem; testItem = testItem->next) {
|
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;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue