summaryrefslogtreecommitdiffstats
path: root/bin/batch/knl_ctestP.sl.in.cmake
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2022-11-02 16:02:47 (GMT)
committerGitHub <noreply@github.com>2022-11-02 16:02:47 (GMT)
commit6924d590cc9cead8e250cb7d70f8d18f4da46a07 (patch)
tree051b418f36828eb3b9bc48af821ef951f29113a0 /bin/batch/knl_ctestP.sl.in.cmake
parente4fb9aa96ef805e2dada8a78c32aab8cf8c34f4a (diff)
downloadhdf5-6924d590cc9cead8e250cb7d70f8d18f4da46a07.zip
hdf5-6924d590cc9cead8e250cb7d70f8d18f4da46a07.tar.gz
hdf5-6924d590cc9cead8e250cb7d70f8d18f4da46a07.tar.bz2
Use ctest_test and APPEND to correctly report passed and failed test numbers in CDash (#2208)
* 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 d364aaf0fa65ee7f9e222b2633ee916d50afbc42. * Correct typo in src/CMakeLists.txt. * Update batch scripts to run ctest_test scripts. Co-authored-by: Allen Byrne <byrn@hdfgroup.org>
Diffstat (limited to 'bin/batch/knl_ctestP.sl.in.cmake')
-rw-r--r--bin/batch/knl_ctestP.sl.in.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/batch/knl_ctestP.sl.in.cmake b/bin/batch/knl_ctestP.sl.in.cmake
index f985fbb..97bd2ad 100644
--- a/bin/batch/knl_ctestP.sl.in.cmake
+++ b/bin/batch/knl_ctestP.sl.in.cmake
@@ -9,8 +9,8 @@
#SBATCH --job-name=h5_ctestP
cd @HDF5_BINARY_DIR@
-#run parallel tests except t_cache_image test
-ctest . -R MPI_TEST_ -C Release -T test >& ctestP.out
-
-echo "Done running $CMD"
+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