hypre/AUTOTEST
2011-01-28 01:17:53 +00:00
..
autotest.sh Added Hera and Dawndev as a general default option 2010-12-09 01:34:11 +00:00
check-int.filters Changed 'long' to either 'hypre_longint' or 'HYPRE_Int'. 2011-01-27 19:46:14 +00:00
check-int.sh Changed 'long' to either 'hypre_longint' or 'HYPRE_Int'. 2011-01-27 19:46:14 +00:00
check-mpi.filters Added 64 bit feature using HYPRE_Int (see tracker [issue489] for details). 2010-12-20 19:27:44 +00:00
check-mpi.sh Changed the 'find' command to something that is hopefully more portable. 2011-01-11 00:31:36 +00:00
configure.filters Added new filters for --with-babel configure and make. 2009-11-12 18:53:34 +00:00
configure.sh Added HYPRE_config.h and babel-runtime/config.log to configure.dir. 2008-08-08 17:31:54 +00:00
cronfile Added DawnDev and Hera 2010-12-09 01:40:51 +00:00
debug.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
default.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
docs.sh Fixed to correctly cd into new docs_misc directory 2008-07-23 15:20:44 +00:00
examples.sh This script now also runs the examples regression tests in TEST_examples. 2011-01-12 01:02:53 +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 Removed the "-j" option of make. Though it speeds-up the build by a 2008-07-23 14:50:59 +00:00
machine-alc.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
machine-dawndev.sh Changed default compiler options while getting --with-openmp to work on dawndev. 2011-01-10 21:04:02 +00:00
machine-hera.sh Removed the second openmp build and added a default optimization build. 2011-01-11 01:45:27 +00:00
machine-mac.sh Added a test for --enable-bigint 2011-01-10 23:11:27 +00:00
machine-thunder.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
machine-tux-compilers.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
machine-tux.sh Changed the examples test on tux to use insure. 2011-01-12 01:34:08 +00:00
machine-up.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
machine-zeus.sh Added 64 bit feature using HYPRE_Int (see tracker [issue489] for details). 2010-12-20 19:27:44 +00:00
make.filters Added filters for a couple of SuperLU functions when compiled on dawndev. 2011-01-10 22:48:22 +00:00
make.sh Removed the "-j" option of make. Though it speeds-up the build by a 2008-07-23 14:50:59 +00:00
openmp.sh Put the '-nthreads 2' option on the wrong line by accident. 2011-01-11 01:37:59 +00:00
README.txt Removed comment about paths in scripts. 2007-12-11 20:30:15 +00:00
run.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
test.sh replaced copyright headers 2008-07-18 01:34:48 +00:00
testdist.sh Fixed a problem with the release name code that stopped working when we 2011-01-28 01:17:53 +00:00
testsrc.sh Added a '.hyprerc' file feature for customizing environments if needed. 2009-10-14 22:11:34 +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.