hypre/AUTOTEST
Rob Falgout 4db0e9dc9a Fixed a problem with AUTOTEST cleantest.sh script
In the case where there are no '.err' files, this script was deleting files it
should not have.  Fixed by adding a check that each .err file actually exists.
2016-05-23 17:40:12 -07:00
..
autotest.sh Fixed autotest to work with new directory structure (not tested yet) 2016-01-15 10:30:49 -08:00
basictest.sh Fixed a CMake compile problem and modified a couple of autotest scripts 2016-03-18 08:16:00 -07:00
check-double.filters Added HYPRE_Complex and HYPRE_Real types in place of double. 2013-10-11 19:48:06 +00: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 Added a couple of filters to the check-int autotest 2016-03-19 20:27: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 Fixed some strict checking errors associated with type hypre_MPI_User_function. 2012-05-25 21:00:52 +00:00
check-mpi.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
cleantest.sh Fixed a problem with AUTOTEST cleantest.sh script 2016-05-23 17:40:12 -07:00
cmaketest.sh Fixed a CMake compile problem and modified a couple of autotest scripts 2016-03-18 08:16:00 -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 some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
cronfile Removed babel from the documentation 2016-01-15 16:21:41 -08: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 Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-rzcereal3.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-rzmerl.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-rzzeus.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-tux-compilers.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
machine-tux.sh Added a regression test for C++ compile 2016-05-13 16:53:08 -07:00
machine-vulcan.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
make.filters Removed some autotest filter lines that should no longer be needed 2016-03-08 13:16:59 -08:00
make.sh Fixed some 'src_dir' directory problems in autotest 2016-01-18 17:05:14 -08:00
README.txt Removed comment about paths in scripts. 2007-12-11 20:30:15 +00: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
testdist.sh Release 2.10.1 is done except for the web page. Changed some scripts and a few other things 2015-09-11 14:31:44 -07:00
testsrc.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.
They are run automatically as part of hypre's regression testing, and they are
run manually to test new distributions of hypre before releasing them to the
public.  The scripts augment the 'runtest.sh' runtime tests in 'test/TEST_*'.

Every test in this directory may be run manually by developers without fear of
interfering with the auto-testing, as long as they are not run from within the
auto-testing directory (currently '/usr/casc/hypre/testing').

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

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 locally on a machine.
2. 'testsrc.sh' - Used to run individual tests on a remote machine.
3. 'testdist.sh' - Used to test a new distribution before release.
4. 'autotest.sh' - Usually run in an automatic fashion by 'cron', but may also
                   be run manually by developers (useful for debugging).

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').

The file 'cronfile' encapsulates the current 'cron' entries for auto-testing.
It is possible (and probable) to have multiple developers running 'cron' jobs as
part of the overall auto-testing.  This needs to be coordinated if the output
files are being written to the global auto-testing directory.

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

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.  If in doubt, talk to another developer or send an inquiry to
hypre-support@llnl.gov.

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

Design goals:

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