summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-13 19:46:30 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-13 19:47:08 (GMT)
commitd363cbf3156c5e8ef160ffbb45cfa269addebb50 (patch)
treec5d8a6d2cc95f03fcd61253f9bafd0ec3ff3cf8b /Tests
parent82a7d54cfe75c399b66c888acfcb5ddb15af547b (diff)
downloadCMake-d363cbf3156c5e8ef160ffbb45cfa269addebb50.zip
CMake-d363cbf3156c5e8ef160ffbb45cfa269addebb50.tar.gz
CMake-d363cbf3156c5e8ef160ffbb45cfa269addebb50.tar.bz2
Tests: Make RunCMake.find_dependency tolerate line number changes
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/find_dependency/EXACT-no-version-stderr.txt2
-rw-r--r--Tests/RunCMake/find_dependency/extra-args-stderr.txt2
-rw-r--r--Tests/RunCMake/find_dependency/invalid-arg-3-stderr.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/Tests/RunCMake/find_dependency/EXACT-no-version-stderr.txt b/Tests/RunCMake/find_dependency/EXACT-no-version-stderr.txt
index 6f4fc04..348f8bb 100644
--- a/Tests/RunCMake/find_dependency/EXACT-no-version-stderr.txt
+++ b/Tests/RunCMake/find_dependency/EXACT-no-version-stderr.txt
@@ -1,4 +1,4 @@
-CMake Error at .*Modules/CMakeFindDependencyMacro.cmake:35 \(message\):
+CMake Error at .*Modules/CMakeFindDependencyMacro.cmake:[0-9]+ \(message\):
Invalid arguments to find_dependency. EXACT may only be specified if a
VERSION is specified
Call Stack \(most recent call first\):
diff --git a/Tests/RunCMake/find_dependency/extra-args-stderr.txt b/Tests/RunCMake/find_dependency/extra-args-stderr.txt
index 1b52380..83a7f02 100644
--- a/Tests/RunCMake/find_dependency/extra-args-stderr.txt
+++ b/Tests/RunCMake/find_dependency/extra-args-stderr.txt
@@ -1,4 +1,4 @@
-CMake Error at .*Modules/CMakeFindDependencyMacro.cmake:47 \(message\):
+CMake Error at .*Modules/CMakeFindDependencyMacro.cmake:[0-9]+ \(message\):
Invalid arguments to find_dependency
Call Stack \(most recent call first\):
extra-args.cmake:4 \(find_dependency\)
diff --git a/Tests/RunCMake/find_dependency/invalid-arg-3-stderr.txt b/Tests/RunCMake/find_dependency/invalid-arg-3-stderr.txt
index c36148f..fee8d5d 100644
--- a/Tests/RunCMake/find_dependency/invalid-arg-3-stderr.txt
+++ b/Tests/RunCMake/find_dependency/invalid-arg-3-stderr.txt
@@ -1,4 +1,4 @@
-CMake Error at .*Modules/CMakeFindDependencyMacro.cmake:42 \(message\):
+CMake Error at .*Modules/CMakeFindDependencyMacro.cmake:[0-9]+ \(message\):
Invalid arguments to find_dependency
Call Stack \(most recent call first\):
invalid-arg-3.cmake:4 \(find_dependency\)