hypre/AUTOTEST
Rob Falgout aadfd86de4
Remove '..' directory dependency in test Makefile (#487)
The 'test/Makefile' had the '..' directory in the include path, which caused the 'HYPRE_config.h' file to be included from two different places (in '..' and in 'install').  In the spack autotest, this caused a conflict.

* Check that 'git describe' works in autoconf build
* Updated versioncheck tests to work when 'git describe' fails
* Updated CMake build to work when 'git describe' fails
* Update autotest filters to ignore error messages from 'git describe'
2021-10-06 09:29:30 -07:00
..
basic.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
check-case.sh renamed utilities/hypre_*.[c,h] to *.[c,h] (#385) 2021-05-27 16:39:42 -07:00
check-double.filters renamed utilities/hypre_*.[c,h] to *.[c,h] (#385) 2021-05-27 16:39:42 -07:00
check-double.sh Changed all of the headers 2019-07-07 19:26:24 -07: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 Changed all of the headers 2019-07-07 19:26:24 -07:00
check-headers.filters Remove '..' directory dependency in test Makefile (#487) 2021-10-06 09:29:30 -07:00
check-headers.sh a minor change in check-headers.sh 2020-06-05 09:06:28 -07:00
check-int.filters renamed utilities/hypre_*.[c,h] to *.[c,h] (#385) 2021-05-27 16:39:42 -07:00
check-int.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
check-license.filters Adding filter to check-license test to ignore runtests-* files 2021-02-18 07:00:23 -08:00
check-license.sh Added more filtering to check-license.sh autotest script (#486) 2021-09-24 12:55:30 -07:00
check-mem.sh renamed utilities/hypre_*.[c,h] to *.[c,h] (#385) 2021-05-27 16:39:42 -07:00
check-mpi.filters Cleaned up use of 'int', 'double', etc. 2017-04-27 15:57:21 -07:00
check-mpi.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
cleantest.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
cmake.bat Fixes to cmake autotests with updated test build. 2019-08-20 11:20:30 -07:00
cmake.filters Remove '..' directory dependency in test Makefile (#487) 2021-10-06 09:29:30 -07:00
cmake.sh Cmake cuda updates (#349) 2021-05-19 15:39:57 -05:00
configure.filters Remove '..' directory dependency in test Makefile (#487) 2021-10-06 09:29:30 -07:00
configure.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
docs.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
examples.sh Gpu default (#336) 2021-05-24 17:16:35 -07:00
klocwork.filters Adding filters 2012-04-30 15:44:23 +00:00
klocwork.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
link.filters fix bugs in test link c++ 2018-09-24 14:30:38 -07:00
link.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
machine-lassen.sh GPU ams ame ads (#398) 2021-06-21 14:36:46 -07:00
machine-mac.sh Adding --enable-mixedint regression tests (currently just compilation tests) 2019-10-22 09:51:01 -07:00
machine-ray.sh GPU ams ame ads (#398) 2021-06-21 14:36:46 -07:00
machine-redwood.sh Multipass gpu (#490) 2021-09-30 11:58:52 -07:00
machine-rztopaz.sh Adding --enable-mixedint regression tests (currently just compilation tests) 2019-10-22 09:51:01 -07:00
machine-syrah.sh Adding --enable-mixedint regression tests (currently just compilation tests) 2019-10-22 09:51:01 -07:00
machine-tux-compilers.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
machine-tux-exlibs.sh Updating autotest for SuperLU-dist version 6.3.1 2020-05-14 20:34:56 -07:00
machine-tux-spack.filters Adding a Spack autotest script 2020-05-16 08:30:29 -07:00
machine-tux-spack.sh Add clean-up phase to spack build in autotest (#481) 2021-10-04 18:17:52 -05:00
machine-tux.sh renamed utilities/hypre_*.[c,h] to *.[c,h] (#385) 2021-05-27 16:39:42 -07:00
machine-vs-pro.bat Moved the echo command to the top of two AUTOTEST .bat files 2019-07-09 17:30:18 -07:00
make.filters Umpire (#243) 2021-02-03 12:31:25 -08:00
make.sh Fixed a bug in autotest 'make.sh' script 2020-05-19 07:22:37 -07:00
README.txt Changed all of the headers 2019-07-07 19:26:24 -07:00
renametest.sh Changed all of the headers 2019-07-07 19:26:24 -07:00
run.sh Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-ams Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-bench Gpu default (#336) 2021-05-24 17:16:35 -07:00
runtests-fac Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-ij Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-ij-gpu Amgdd fixes (#386) 2021-06-15 10:44:46 -07:00
runtests-ij-mixed Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-lobpcg Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-lobpcg-mixed Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-longdouble Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-single Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-sstruct Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-sstruct-mixed Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
runtests-struct Add HYPRE_DEVELOP variables (#472) 2021-09-20 20:05:58 -07:00
runtests-superlu Test jobs for enable-mixedint (#280) 2021-02-17 20:24:58 -08:00
test.sh Changed all of the headers 2019-07-07 19:26:24 -07:00

# Copyright 1998-2019 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


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.