hypre/AUTOTEST
2018-03-14 11:54:48 -07:00
..
basic.sh Fixed the external blas test and nested string issue in autotest 2017-10-16 11:33:58 -07:00
check-double.filters Fixed a few check-int and check-double errors by filtering 2017-05-02 13:28:27 -07:00
check-double.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
check-glob-symb.filters Added scripting to find directory location of symbols and filter. 2011-11-05 00:13:55 +00:00
check-glob-symb.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
check-int.filters Fixed a few check-int and check-double errors by filtering 2017-05-02 13:28:27 -07:00
check-int.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
check-mpi.filters Cleaned up use of 'int', 'double', etc. 2017-04-27 15:57:21 -07:00
check-mpi.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
cleantest.sh Modified AUTOTEST/cleantest.sh to avoid removing '.bat' files 2018-01-11 08:38:43 -08:00
cmake.bat Added more Windows tests 2017-11-10 17:14:44 -08:00
cmake.sh Moved autotest scripting to another repository and made a few other changes 2017-06-16 13:48:44 -07:00
configure.filters Removed some autotest filter lines that should no longer be needed 2016-03-08 13:16:59 -08:00
configure.sh Fixed the external blas test and nested string issue in autotest 2017-10-16 11:33:58 -07:00
docs.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
examples.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
klocwork.filters Adding filters 2012-04-30 15:44:23 +00:00
klocwork.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
link.filters Adding a filter to fix vulcan link++ test. 2013-11-12 15:46:39 +00:00
link.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-mac.sh Moved autotest scripting to another repository and made a few other changes 2017-06-16 13:48:44 -07:00
machine-rzcereal3.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-rztopaz.sh Removing rzzeus and rzmerl and adding rztopaz and syrah 2017-07-05 11:30:51 -07:00
machine-syrah.sh Removing rzzeus and rzmerl and adding rztopaz and syrah 2017-07-05 11:30:51 -07:00
machine-tux-compilers.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-tux-exlibs.sh added Superlu regression tests 2017-12-18 08:35:28 -08:00
machine-tux.sh Changed machine-tux autotest script to run with openmp (not just compile) 2018-03-14 11:54:48 -07:00
machine-vs-pro.bat Added more Windows tests 2017-11-10 17:14:44 -08:00
machine-vulcan.sh Moved autotest scripting to another repository and made a few other changes 2017-06-16 13:48:44 -07:00
make.filters Removed CFLAGS from test/Makefile link line 2016-12-09 15:11:37 -08:00
make.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
README.txt Moved autotest scripting to another repository and made a few other changes 2017-06-16 13:48:44 -07:00
renametest.sh Wrote a script to rename tests instead of using unportable 'rename' function. 2015-01-12 17:50:56 -08:00
run.sh Fixed autotest to work with new directory structure (not tested yet) 2016-01-15 10:30:49 -08:00
test.sh Fixed autotest to work with new directory structure (not tested yet) 2016-01-15 10:30:49 -08:00

This directory contains scripts for running various tests on the hypre library.
The scripts augment the 'runtest.sh' runtime tests in 'test/TEST_*'.

Every test in this directory may be run manually by developers.  Many of the
scripts are also run as part of the nightly regression testing, currently
developed and maintained in a separate git repository called 'hypre/autotest'.

=====================

Organization:

This directory mainly consists of a number of simple Bourne-shell scripts (the
files with a '.sh' extension).  Except for a few "special scripts" (below), each
represents an individual test written by a hypre developer.  The special scripts
are as follows (note that they are the only scripts with "test" in their names):

1. 'test.sh'       - Used to run individual tests.
2. 'cleantest.sh'  - Used to clean up the output from a test (or tests).
3. 'renametest.sh' - Used to rename the output from a test.

Usage information for every script (special or individual test) can be obtained
by running it with the '-h' option (e.g., 'test.sh -h' or 'make.sh -h').

=====================

Writing tests:

The rules for writing tests are given in the 'test.sh -h' usage information.
When writing tests, keep in mind the design goals below, especially with respect
to simplicity, flexibility, and portability.

To write a new test, just use an existing test (e.g., 'default.sh') as a
template and make the appropriate modifications.  Try not to use the word "test"
in the name of the script so that we can keep the convention of only the special
scripts having this in their names.  Try not to use absolute directory paths in
the script.

=====================

Design goals:

- Minimal limitations on the types of tests that are possible.
- Developers should be able to run the tests manually.
- Minimal dependence on operating system and software tools (for portability).
- Developers should be able to easily add new tests.
- Simplicity and flexibility.