hypre/AUTOTEST
2008-01-31 19:28:42 +00:00
..
autotest.sh Put the email list back the way it's supposed to be. 2007-12-12 22:17:51 +00:00
configure.filters Adding some --enable-debug --with-babel filters. 2007-12-10 23:20:11 +00:00
configure.sh Improved portability. 2007-11-30 23:59:53 +00:00
cronfile Changed the -summary option to -summary-email 2007-12-12 19:21:36 +00:00
debug.sh Added the --with-print-errors configure options, which should catch 2007-12-06 19:29:52 +00:00
default.sh Various updates. 2007-11-30 23:24:44 +00:00
docs.sh Various updates. 2007-11-30 23:24:44 +00:00
examples.sh Added a test for the example codes. 2007-11-30 22:46:12 +00:00
link.filters Adding filters to remove informational (non-error) messages printed on uP. 2007-12-04 19:42:46 +00:00
link.sh Various updates. 2007-11-30 23:24:44 +00:00
machine-alc.sh Reorganized autotest.sh in preparation for new tests to be added. 2007-12-06 22:55:23 +00:00
machine-mac.sh Explicitly set the mpi C++ compiler to mpicxx. 2007-12-13 00:24:09 +00:00
machine-thunder.sh Put the "default" tests first and made a few other minor changes. 2007-12-01 02:29:42 +00:00
machine-tux-compilers.sh Changed Lahey and Absoft options. This is still a work in progress. 2007-12-07 18:51:44 +00:00
machine-tux.sh Now the build for the --with-no-global-partition option is checked. 2008-01-31 19:28:42 +00:00
machine-up.sh Reorganized autotest.sh in preparation for new tests to be added. 2007-12-06 22:55:23 +00:00
machine-zeus.sh Put the "default" tests first and made a few other minor changes. 2007-12-01 02:29:42 +00:00
make.filters Added a couple more filters for babel (replicated in make.filters). 2007-12-11 16:01:18 +00:00
make.sh Various updates. 2007-11-30 23:24:44 +00:00
README.txt Removed comment about paths in scripts. 2007-12-11 20:30:15 +00:00
run.sh Restored two accidentally committed files. 2007-12-05 20:54:45 +00:00
test.sh Various updates. 2007-11-30 23:24:44 +00:00
testdist.sh Initial version for the new distribution test. This is no longer a version 2007-12-12 23:36:25 +00:00
testsrc.sh Added the -q flag to several ssh commands in order to avoid the DOE banner. 2007-12-05 20:50:56 +00: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.