diff options
Diffstat (limited to 'Templates/TestDriver.cxx.in')
-rw-r--r-- | Templates/TestDriver.cxx.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Templates/TestDriver.cxx.in b/Templates/TestDriver.cxx.in index 9e53030..f4510bb 100644 --- a/Templates/TestDriver.cxx.in +++ b/Templates/TestDriver.cxx.in @@ -64,7 +64,7 @@ int main(int ac, char *av[]) int testToRun = -1; @CMAKE_TESTDRIVER_ARGVC_FUNCTION@ - + for(count =0; cmakeGeneratedFunctionMapEntries[count].name != 0; count++) { } @@ -141,8 +141,8 @@ int main(int ac, char *av[]) @CMAKE_TESTDRIVER_AFTER_TESTMAIN@ return result; } - - + + /* Nothing was run, display the test names. */ printf("Available tests:\n"); for (i =0; i < NumTests; ++i) @@ -150,6 +150,6 @@ int main(int ac, char *av[]) printf("%3d. %s\n", i, cmakeGeneratedFunctionMapEntries[i].name); } printf("Failed: %s is an invalid test name.\n", av[1]); - + return -1; } |