From 5438d5bec2fa328c5c51e993298523a331870233 Mon Sep 17 00:00:00 2001 From: Adam Moss Date: Mon, 12 Oct 2009 15:08:40 +0000 Subject: DEV-41080 remove weird double-printing of test results, make test-passing more *fun*! --- indra/test/test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'indra/test') 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; } -- cgit v1.2.3