summaryrefslogtreecommitdiffstats
path: root/Modules/CTest.cmake
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-02 14:08:40 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-02 14:08:40 (GMT)
commit69fd641adb32c878ded4cadee60d90596b358d1b (patch)
treecd9885d9d8a0825b4a3bc227f78780ebf1a1e95b /Modules/CTest.cmake
parent99144383cf17e188f67a5d9e3469bcf1b3a836b8 (diff)
downloadCMake-69fd641adb32c878ded4cadee60d90596b358d1b.zip
CMake-69fd641adb32c878ded4cadee60d90596b358d1b.tar.gz
CMake-69fd641adb32c878ded4cadee60d90596b358d1b.tar.bz2
Fixed ctest output where max test index is not the same width as the total number of tests. Also some preliminary changes for batching ctest jobs
Diffstat (limited to 'Modules/CTest.cmake')
-rw-r--r--Modules/CTest.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake
index b3871db..c13b813 100644
--- a/Modules/CTest.cmake
+++ b/Modules/CTest.cmake
@@ -137,6 +137,12 @@ IF(BUILD_TESTING)
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Rational Software\\Purify\\Setup;InstallFolder]"
DOC "Path to the memory checking command, used for memory error detection."
)
+ FIND_PROGRAM(SLURM_SBATCH_COMMAND sbatch DOC
+ "Path to the SLURM sbatch executable"
+ )
+ FIND_PROGRAM(SLURM_SRUN_COMMAND srun DOC
+ "Path to the SLURM srun executable"
+ )
SET(MEMORYCHECK_SUPPRESSIONS_FILE "" CACHE FILEPATH
"File that contains suppressions for the memory checker")
FIND_PROGRAM(SCPCOMMAND scp DOC
@@ -212,6 +218,8 @@ IF(BUILD_TESTING)
MEMORYCHECK_SUPPRESSIONS_FILE
PURIFYCOMMAND
SCPCOMMAND
+ SLURM_SBATCH_COMMAND
+ SLURM_SRUN_COMMAND
SITE
)
# BUILDNAME