diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2003-06-10 04:03:58 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2003-06-10 04:03:58 (GMT) |
commit | ee38b91d18e8152662597b6ff605c23cde172e65 (patch) | |
tree | 8c5699dcd016d5722dbf4264d2c404a72c477eaa /c++/test/h5cpputil.cpp | |
parent | 989fba31d4d7457f3d62ba0269e7296c73ec5405 (diff) | |
download | hdf5-ee38b91d18e8152662597b6ff605c23cde172e65.zip hdf5-ee38b91d18e8152662597b6ff605c23cde172e65.tar.gz hdf5-ee38b91d18e8152662597b6ff605c23cde172e65.tar.bz2 |
[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)
Diffstat (limited to 'c++/test/h5cpputil.cpp')
-rw-r--r-- | c++/test/h5cpputil.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp index df42fd8..85ba2d2 100644 --- a/c++/test/h5cpputil.cpp +++ b/c++/test/h5cpputil.cpp @@ -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; } } |