summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-27 18:54:32 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-27 19:04:27 (GMT)
commit681e0429fc7b262dd9d7ad48bcbed25dc3a3fbc2 (patch)
tree9b260b3a8c2c7c385afae2ccf4fa56ce14d4b2d4
parent1adcf4917e86fadcaf49ed5ad19d9f353febad53 (diff)
downloadCMake-681e0429fc7b262dd9d7ad48bcbed25dc3a3fbc2.zip
CMake-681e0429fc7b262dd9d7ad48bcbed25dc3a3fbc2.tar.gz
CMake-681e0429fc7b262dd9d7ad48bcbed25dc3a3fbc2.tar.bz2
Tests: Fix RunCMake.CTest output match to tolerate line number changes
-rw-r--r--Tests/RunCMake/CTest/BeforeProject-stderr.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/RunCMake/CTest/BeforeProject-stderr.txt b/Tests/RunCMake/CTest/BeforeProject-stderr.txt
index d61856c..cfbe4d2 100644
--- a/Tests/RunCMake/CTest/BeforeProject-stderr.txt
+++ b/Tests/RunCMake/CTest/BeforeProject-stderr.txt
@@ -1,6 +1,6 @@
-CMake Error at .*/Modules/CTestTargets.cmake:20 \(message\):
+CMake Error at .*/Modules/CTestTargets.cmake:[0-9]+ \(message\):
Do not include\(CTest\) before calling project\(\).
Call Stack \(most recent call first\):
.*/Modules/CTest.cmake:[0-9]+ \(include\)
- BeforeProject.cmake:1 \(include\)
- CMakeLists.txt:5 \(include\)
+ BeforeProject.cmake:[0-9]+ \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)