[svn-r7012] Purpose:

Text cleanup

Description:
    Re-worded some informative and error messages.
    Remove/Updated outdated comments.

Platforms:
    Linux 2.4 (eirene)
    IRIX 6.5.11 (modi4)
This commit is contained in:
Binh-Minh Ribler
2003-06-09 23:03:58 -05:00
parent 989fba31d4
commit ee38b91d18
4 changed files with 17 additions and 30 deletions
+6 -6
View File
@@ -37,9 +37,9 @@ using namespace std;
/*-------------------------------------------------------------------------
* Function: test_report
*
* Purpose: Prints out the number of errors for dataset tests if there
* were any failures occurred. If no failure, test_report
* prints out the "All dataset tests passed" message
* Purpose: Prints out the number of errors for the tests indicated
* by 'testname,' if there were any failures occurred. If
* no failure, test_report prints out the tests passed message.
*
* Return: if any failure has occurred: 1
*
@@ -59,15 +59,15 @@ int test_report( int nerrors, const string& testname )
nerrors = MAX(1, nerrors);
if (1 == nerrors)
cout << "***** " << nerrors << testname
<< " FAILED! *****" << endl;
<< " TEST FAILED! *****" << endl;
else
cout << "***** " << nerrors << testname
<< " FAILED! *****" << endl;
<< " TESTS FAILED! *****" << endl;
return 1;
}
else
{
cout << "All dataset tests passed." << endl;
cout << "All" << testname << " tests passed." << endl;
return 0;
}
}