#!/bin/bash # Run the test suite. This script is called from SimRestart.run() # with the run script as the only argument. command="$1" # This is a hack because the run scripts assume they are in the # restart directory, but tests are run from individual directories # under TEST export CCTK_TESTSUITE_RUN_COMMAND="if [ ! -r output-0000-active ]; then ln -s . output-0000-active; fi; mkdir -p SIMFACTORY && TESTSUITE_PARFILE=\$parfile $command" # This is the number of MPI processes to run on export CCTK_TESTSUITE_RUN_PROCESSORS=@NUM_PROCS@ make @CONFIGURATION@-testsuite PROMPT=no