summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2023-12-21 23:12:20 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-08 20:25:57 (GMT)
commitb7f9d24b40a486da946ce86795c3105899c19842 (patch)
tree5c592babe532c0093b66600c4e60996b6feb74e1 /Tests
parent3377141c8f18ecfed46f52a8be8228d982e32464 (diff)
downloadCMake-b7f9d24b40a486da946ce86795c3105899c19842.zip
CMake-b7f9d24b40a486da946ce86795c3105899c19842.tar.gz
CMake-b7f9d24b40a486da946ce86795c3105899c19842.tar.bz2
Tests: Improve RunCMake.export expected output matching robustness
The "multiple other export sets" message may wrap lines differently depending on the path to the test.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/export/DependOnDoubleExport-stderr.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/export/DependOnDoubleExport-stderr.txt b/Tests/RunCMake/export/DependOnDoubleExport-stderr.txt
index e8f8a09..a884939 100644
--- a/Tests/RunCMake/export/DependOnDoubleExport-stderr.txt
+++ b/Tests/RunCMake/export/DependOnDoubleExport-stderr.txt
@@ -1,7 +1,7 @@
CMake Error in CMakeLists.txt:
export called with target "exported" which requires target "doubleexported"
- that is not in this export set, but in multiple other export sets:
- .*/Tests/RunCMake/export/DependOnDoubleExport-build/exportset.cmake,
+ that is not in this export set, but in multiple other export sets:.*
+ .*/Tests/RunCMake/export/DependOnDoubleExport-build/exportset.cmake,.*
.*/Tests/RunCMake/export/DependOnDoubleExport-build/manual.cmake.
+
An exported target cannot depend upon another target which is exported