mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
6924d590cc
* 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>
21 lines
616 B
CMake
21 lines
616 B
CMake
#!/bin/tcsh
|
|
### LSF syntax
|
|
#BSUB -nnodes 1 #number of nodes
|
|
#BSUB -W 30 #walltime in minutes
|
|
#BSUB -G guests #account
|
|
#BSUB -e ctestPerrors.txt #stderr
|
|
#BSUB -o ctestPoutput.txt #stdout
|
|
#BSUB -J hdf5_ctestP #job
|
|
##BSUB -q pbatch #queue to use
|
|
#BSUB -q pdebug
|
|
|
|
##date; hostname
|
|
##echo -n 'JobID is '; echo $LSB_JOBID
|
|
|
|
cd @HDF5_BINARY_DIR@
|
|
echo "Run parallel test command. Test output will be in build/ctestP.out"
|
|
ctest -S ctest_parallel.cmake >& ctestP.out
|
|
|
|
echo "Done running ctest parallel command."
|
|
touch ctestP.done
|