* Change how HPC tests are executed
* Move ctest_test commands for serial and parallel tests into cmake files.
* Update checks for uploading Test.xml to CDash.
* Correct cmake scripots.
* Remove extraneous characters.
* Add ctest_start (APPEND).
* Add binary directories to scripts running ctest_test.
* Correct parameters for appending Test.xml.
* Set CTEST_SITE and CTEST_BUILD_NAME.
* Try to pass site and build_name to ctest_test sripts.
* Add site name and build name for ctest_test commands vi environment.
* Revert "Try to pass site and build_name to ctest_test sripts."
This reverts commit d364aaf0fa.
* Correct typo in src/CMakeLists.txt.
* Update batch scripts to run ctest_test scripts.
Co-authored-by: Allen Byrne <byrn@hdfgroup.org>
24 lines
719 B
CMake
Executable File
24 lines
719 B
CMake
Executable File
#!/bin/bash -l
|
|
if [ $# -gt 0 ]; then
|
|
SUMMARY_FILE=$1
|
|
fi
|
|
ACCOUNT_ID=@ACCOUNT_ID@
|
|
|
|
echo "Run parallel test command. Test output will be in build/${SUMMARY_FILE}"
|
|
CTEST_CMD=`which ctest`
|
|
|
|
#SKIPTESTS <<KEYWORD:script inserts list of skips tests here -- don't remove>>
|
|
|
|
cd @HDF5_BINARY_DIR@
|
|
if [[ $SUMMARY_FILE == *"ctestS"* ]]; then
|
|
CMD="${CTEST_CMD} -S ctest_serial.cmake"
|
|
qsub -t 60 -n 1 -q debug-flat-quad -A ${ACCOUNT_ID} ${CMD} >& ${SUMMARY_FILE}
|
|
echo "Done running ctest serial command."
|
|
touch ctestS.done
|
|
else
|
|
CMD="${CTEST_CMD} -S ctest_parallel.cmake"
|
|
qsub -t 60 -n 1 -q debug-flat-quad -A ${ACCOUNT_ID} ${CMD} >& ${SUMMARY_FILE}
|
|
echo "Done running ctest parallel command."
|
|
touch ctestP.done
|
|
fi
|