diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-08-29 16:59:28 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-08-29 16:59:28 (GMT) |
commit | 3d526ab6cb594c656497fce7efe0589c0f840272 (patch) | |
tree | 147f28e7f94c60701a2374c0eb094749e11f6653 /test/testhdf5.c | |
parent | 9ada2de83a7a4038e4b3d0e500360eb38ee6ecaa (diff) | |
download | hdf5-3d526ab6cb594c656497fce7efe0589c0f840272.zip hdf5-3d526ab6cb594c656497fce7efe0589c0f840272.tar.gz hdf5-3d526ab6cb594c656497fce7efe0589c0f840272.tar.bz2 |
[svn-r51] ./test/tstab.c
./test/tohdr.c
./test/tmeta.c
./test/theap.c
./test/tfile.c
./test/testhdf5.h
./test/testhdf5.c
Changed the MESSAGE macro so it doesn't have a semicolon
inside the argument list and automatic indentation tools work
better.
Old call: MESSAGE (5, printfunc("foo%s %d", s, i););
New call: MESSAGE (5, ("foo%s %d", s, i));
The parentheses are required.
./test/tstab.c
Added more tests.
Diffstat (limited to 'test/testhdf5.c')
-rw-r--r-- | test/testhdf5.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/test/testhdf5.c b/test/testhdf5.c index bee3bfb..21dd790 100644 --- a/test/testhdf5.c +++ b/test/testhdf5.c @@ -250,28 +250,22 @@ int main(int argc, char *argv[]) { if (Test[Loop].SkipFlag) { - MESSAGE(2, print_func("Skipping -- %s \n", Test[Loop].Description); - ); + MESSAGE(2, ("Skipping -- %s \n", Test[Loop].Description)); } else { - MESSAGE(2, print_func("Testing -- %s (%s) \n", Test[Loop].Description, - Test[Loop].Name); - ); - MESSAGE(5, print_func("===============================================\n"); - ); + MESSAGE(2, ("Testing -- %s (%s) \n", Test[Loop].Description, + Test[Loop].Name)); + MESSAGE(5, ("===============================================\n")); Test[Loop].NumErrors = num_errs; (*Test[Loop].Call) (); Test[Loop].NumErrors = num_errs - Test[Loop].NumErrors; - MESSAGE(5, print_func("===============================================\n"); - ); - MESSAGE(5, print_func("There were %d errors detected.\n\n", (int) Test[Loop].NumErrors); - ); + MESSAGE(5, ("===============================================\n")); + MESSAGE(5, ("There were %d errors detected.\n\n", (int) Test[Loop].NumErrors)); } /* end else */ } /* end for */ - MESSAGE(2, print_func("\n\n"); - ) + MESSAGE(2, ("\n\n")) if (num_errs) print_func("!!! %d Error(s) were detected !!!\n\n", (int) num_errs); else @@ -296,8 +290,7 @@ int main(int argc, char *argv[]) if (CleanUp) { - MESSAGE(2, print_func("\nCleaning Up...\n\n"); - ); + MESSAGE(2, ("\nCleaning Up...\n\n")); #if !(defined DOS386 | defined WIN386) system("rm -f *.hdf *.tmp"); #else /* OLD_WAY */ |