streeve / testsuite

E4S test suite with validation tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

testsuite

E4S test suite with validation tests

Getting Started

  1. Clone E4S Testsuite
git clone https://github.com/E4S-Project/testsuite
  1. Source your spack environment
source /path/to/spack/share/spack/setup-env.sh
  1. Check settings.sh. By default the testsuite will get its compile and run commands from settings.sh in the top level testsuite directory. You can smylink this file to one of the settings preset files or indicate a file with an argument to test-all.sh.

To run all the test run

./test-all.sh

Alternately you can run a subset of tests by specifying a directory path in validation_tests for instance if you want to run the qthreads test run

./test-all.sh ./validation_tests/qthreads

Test subsets may be created by symlinking selected test directories from validation_tests to a new directory.

After the optional test directory argument test-all.sh accepts to additional optional arguments:

--json

will cause the test output to be written in json format. Redirect to a file for post-processing.

--settings <file>

allow you to specify a settings file that provides the compile and run commands to be used by the testsuite.

The output builds and logs will be in the test directory.

The return value of test-all.sh is the number of failures encountered (0 for complete success).

About

E4S test suite with validation tests

License:MIT License


Languages

Language:Fortran 72.2%Language:C 22.6%Language:C++ 3.7%Language:CMake 0.5%Language:Makefile 0.5%Language:Shell 0.2%Language:Python 0.1%Language:TeX 0.1%Language:Cuda 0.0%Language:NASL 0.0%Language:SourcePawn 0.0%Language:GLSL 0.0%Language:Batchfile 0.0%Language:Modula-3 0.0%Language:Roff 0.0%Language:Awk 0.0%Language:Cap'n Proto 0.0%Language:SWIG 0.0%