summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline-stderr.txt
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-07-07 14:53:55 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-07-07 16:21:58 (GMT)
commitc57695a2f4ad325346e33eee655b75c1716cf957 (patch)
tree2042da6587a8bc5c9f3132b0fad32927597fa528 /Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline-stderr.txt
parentdab33d1e3339c0f06437692db0c3e1db49765ba2 (diff)
downloadCMake-c57695a2f4ad325346e33eee655b75c1716cf957.zip
CMake-c57695a2f4ad325346e33eee655b75c1716cf957.tar.gz
CMake-c57695a2f4ad325346e33eee655b75c1716cf957.tar.bz2
Help: Clarify search order for resource spec file
Clarify the order in which --resource-spec-file, RESOURCE_SPEC_FILE, and CTEST_RESOURCE_SPEC_FILE are searched, and add tests to enforce this. Fixes: #20914
Diffstat (limited to 'Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline-stderr.txt')
-rw-r--r--Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline-stderr.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline-stderr.txt b/Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline-stderr.txt
new file mode 100644
index 0000000..c6f9cfc
--- /dev/null
+++ b/Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline-stderr.txt
@@ -0,0 +1,14 @@
+^Insufficient resources for test Test1:
+
+ Test requested resources of type 'fluxcapacitors' in the following amounts:
+ 200 slots
+ but only the following units were available:
+ 'outatime': 121 slots
+
+Resource spec file:
+
+ [^
+]*/Tests/RunCMake/CTestResourceAllocation/resspec.json
+CMake Error at [^
+]*/Tests/RunCMake/CTestResourceAllocation/notenough1-ctest-s-res-cmdline/test\.cmake:[0-9]+ \(message\):
+ Tests did not pass$