diff options
| author | Phil Nash | 2010-11-13 09:39:45 +0000 |
|---|---|---|
| committer | Phil Nash | 2010-11-13 09:39:45 +0000 |
| commit | 635216e2c6f39ded1e7aa7566a0354a3bc70dd24 (patch) | |
| tree | c385f58b517d14f2ebfbd3164bd9c4b1124b077a /Test/TestMain.cpp | |
| parent | 3d6fa6897096bd4d0ad1bf3a28436dc9fc922caf (diff) | |
| download | catch3-635216e2c6f39ded1e7aa7566a0354a3bc70dd24.tar.gz | |
Move the Xcode project around a bit
Diffstat (limited to 'Test/TestMain.cpp')
| -rw-r--r-- | Test/TestMain.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Test/TestMain.cpp b/Test/TestMain.cpp index 98f85160..f083724d 100644 --- a/Test/TestMain.cpp +++ b/Test/TestMain.cpp @@ -59,7 +59,17 @@ int main (int argc, char * const argv[]) if( result == 0 ) { - std::cout << "All " << runner.getSuccessCount() + runner.getFailureCount() << " tests completed successfully" << std::endl; + const size_t expectedTestCaseCount = 97; // !TBD factor this out + size_t testCaseCount = runner.getSuccessCount() + runner.getFailureCount(); + std::cout << "All " << testCaseCount << " tests completed successfully" << std::endl; + if( testCaseCount != expectedTestCaseCount ) + { + std::cerr << "- but we were expecting " << expectedTestCaseCount + << " test to run. Where some added or removed, or were they not compiled in?" + << std::endl; + return 1; + } + } return result; } |