summaryrefslogtreecommitdiffstats
path: root/test/testframe.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9183] Purpose: New featureRaymond Lu2004-09-011-5/+1
| | | | | | | | | | | | Description: Restore 6 old error API functions back to the library to be backward compatible with v1.6. They are H5Epush, H5Eprint, H5Ewalk, H5Eclear, H5Eset_auto, H5Eget_auto. These functions do not have error stack as parameter. Solution: Internally, these functions use default error stack. Platforms tested: h5committest and fuss. Misc. update: RELEASE.txt
* [svn-r9139] 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-r9115] Purpose:Albert Cheng2004-08-191-12/+59
| | | | | | | | | | | | | | | | | | | | | | | | | 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-r9079] 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-r9050] 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-r8383] 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-r8298] Purpose:Albert Cheng2004-04-031-12/+50
| | | | | | | | | | Code cleanup Description: Added SetTest() to handle test controls. Platforms tested: h5committested.
* [svn-r8292] Purpose:Albert Cheng2004-04-011-0/+12
| | | | | | | | | | | Feature. Description: Added GetTestParameters() to provide Test Parameters to individual test programs. Platforms tested: "h5committested"
* [svn-r8289] Purpose:Albert Cheng2004-03-301-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". Also run compat test in eirene.
* [svn-r8102] Purpose:Albert Cheng2004-01-231-2/+0
| | | | | | | Removed debug print statements committed by mistake. Platforms tested: eirene.
* [svn-r8100] Purpose:Albert Cheng2004-01-231-8/+18
| | | | | | | Added the function ParseTestVerbosity() to be shared by all programs. Platforms tested: Eirene.
* [svn-r8097] 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-r8094] 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-r8084] 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. Misc. update:
* [svn-r8048] 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-r8022] Purpose:Quincey Koziol2004-01-061-0/+298
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