summaryrefslogtreecommitdiffstats
path: root/test/testframe.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9140] Purpose:Albert Cheng2004-08-231-1/+5
| | | | | | | | | | | | | | | Bug fix. Description: The return value of TestPrivateParser() was not tested, thus program would keep on going incorrectly even if errors were detected in TestPrivateParser. Solution: Check the return and exit accordingly. Platforms tested: Tested in Eirene and Sol in both serial and pp modes.
* [svn-r9116] Purpose:Albert Cheng2004-08-191-12/+60
| | | | | | | | | | | | | | | | | | | | | | | | | feature Description: Another revamp of the test interface. TestInit: is used to register Test Program name, test program specific Usage and option parsing routines. TestUsage: will invoke extra usage routine if provided. TestParseCmdLine: will invoke extra option parsing routine if provided. GetTestSummary() and GetTestCleanup() replaces the previous Summary and CleanUp arguments of TestParseCmdLine. test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c: All have been updated to use the new Test Routines. testpar/t_mpi.c: Also a fix of a compiler optimization bug when pgcc in Linux is used to compile it. Changed buf[] and expected to unsigned char type to avoid a bug that failed to do sign-extension. Platforms tested: "h5committested" Also tested thread-safe option in eirene.
* [svn-r9080] Purpose:Albert Cheng2004-08-131-48/+73
| | | | | | | | | | | | | | Feature Description: Changed TestParseCmdLine to accept an optional extra_parse() function provided by indidivual test application. Extra_parse() can handle extra options special to that test application. Updated testhdf5.c to use the new syntax of TestParseCmdLine(). Platforms tested: On eirene both serial and parallel.
* [svn-r9051] Purpose:Albert Cheng2004-08-081-9/+16
| | | | | | | | | | | | | Feature Description: Added a feature such that if the test name starts with '-', do not run it by default. Platforms tested: Eirene both serial and parallel. Misc. update:
* [svn-r8384] Purpose:Quincey Koziol2004-04-181-1/+1
| | | | | | | | | | | | | Code cleanup Description: Clean up lots of warnings based on those reported from the SGI compilers as well as gcc. Platforms tested: SGI O3900, IRIX64 6.5 (Cheryl's SGI machine) FreeBSD 4.9 (sleipnir) w/ & w/o parallel h5committest
* [svn-r8299] Purpose:Albert Cheng2004-04-031-12/+50
| | | | | | | | | | Code cleanup (sort of) Description: Added SetTest() to handle test controls. Platforms tested: h5committested.
* [svn-r8291] Purpose:Albert Cheng2004-04-011-0/+12
| | | | | | | | | | | Feature. Description: Added GetTestParameters() to provide Test Parameters to individual test programs. Platforms tested: "h5committested"
* [svn-r8290] Purpose:Albert Cheng2004-03-311-1/+9
| | | | | | | | | | | | | Feature Description: Added to AddTest() a generic parameters pointer argument to allow some extra parameters for some tests. E.g., test file names can be customized during runtime and passed into the test routines. Platforms tested: "h5committested".
* [svn-r8101] Purpose:Albert Cheng2004-01-231-2/+0
| | | | | | | Removed debug print statements committed by mistake. Platforms tested: eirene.
* [svn-r8099] Purpose:Albert Cheng2004-01-231-8/+18
| | | | | | | Added the function ParseTestVerbosity() to be shared by all programs. Platforms tested: Eirene.
* [svn-r8098] Purpose:Albert Cheng2004-01-231-5/+5
| | | | | | | | | | | Bug fix Description: C++ compilers do not like the variable name new which is a kind word for C++. Changed it to newval instead. Platforms tested: Tested in Copper which is the one complained about the name.
* [svn-r8093] Purpose:Albert Cheng2004-01-221-4/+17
| | | | | | | | | | | | | | | | New feature. Description: Added function SetTestVerbosity() so that other applications can set the verbosity explicitedly without the whole testframe taking over. Added Verbose queries shorthands to make code more readable and easier to change the levels of low, medium and high. Platforms tested: Eirene (both serial and parallel). Misc. update:
* [svn-r8085] Purpose:Albert Cheng2004-01-221-5/+5
| | | | | | | | | | | | | | | | | Improvement. Description: Verbosity level were specified by numbers which are not meaningful and prone to typos. Solution: Adapted the Verbosity predefined level symbols from HDF4 and changed all numberic verbosity to symbolic values. (Still need to convert some left over macros like MESSAGE.) Platforms tested: Eirene. No h5committest since this is trivial.
* [svn-r8049] Purpose:Quincey Koziol2004-01-101-1/+44
| | | | | | | | | | | | | Code cleanup & reorganization Description: Move further in the testing framework cleanup, eliminating all the global variables (moving them into testframe.c as static variables) from the testing framework code and moving it into the libh5test.a. Platforms tested: FreeBSD 4.9 (sleipnir) w & w/o thread-safety, c++ & parallel h5committested
* [svn-r8024] Purpose:Quincey Koziol2004-01-061-5/+0
| | | | | | | | | | | | | Code cleanup Description: Refactor library testing framework (used for the testhdf5 & ttsafe tests) to remove almost all of the duplicated code, moving the common code into a new 'testframe.c' source file. Platforms tested: FreeBSD 4.9 (sleipnir) w & w/o thread-safety h5committest
* [svn-r8023] This commit was manufactured by cvs2svn to create branch 'hdf5_1_6'.cvs2svn2004-01-061-0/+298