diff options
author | Adam Moss <moss@lindenlab.com> | 2009-10-12 15:08:40 +0000 |
---|---|---|
committer | Adam Moss <moss@lindenlab.com> | 2009-10-12 15:08:40 +0000 |
commit | 5438d5bec2fa328c5c51e993298523a331870233 (patch) | |
tree | e86901c2eb7fe3181efed0cc71d634df2b46e019 /indra | |
parent | 2a99e18ea152ef8843a12d7056436ee01dff5964 (diff) |
DEV-41080
remove weird double-printing of test results, make test-passing more *fun*!
Diffstat (limited to 'indra')
-rw-r--r-- | indra/test/test.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/indra/test/test.cpp b/indra/test/test.cpp index 2f50d872ee..94766a0ba2 100644 --- a/indra/test/test.cpp +++ b/indra/test/test.cpp @@ -143,24 +143,24 @@ public: private: void run_completed_(std::ostream &stream) { + stream << "\tTotal Tests:\t" << mTotalTests << std::endl; + stream << "\tPassed Tests:\t" << mPassedTests; + if (mPassedTests == mTotalTests) + { + stream << "\t\\o/ yay!!"; + } stream << std::endl; - stream << "Total Tests: " << mTotalTests << std::endl; - stream << "Passed Tests: " << mPassedTests << std::endl; - stream << std::endl; - stream << "Total Tests: " << mTotalTests << std::endl; - stream << "Passed Tests: " << mPassedTests << std::endl; - if (mSkippedTests > 0) { - stream << "Skipped known failures: " << mSkippedTests + stream << "\tSkipped known failures:\t" << mSkippedTests << std::endl; } if(mFailedTests > 0) { stream << "*********************************" << std::endl; - stream << "Failed Tests: " << mFailedTests << std::endl; + stream << "Failed Tests:\t" << mFailedTests << std::endl; stream << "Please report or fix the problem." << std::endl; stream << "*********************************" << std::endl; } |