diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2023-12-21 23:12:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-08 20:25:57 (GMT) |
commit | b7f9d24b40a486da946ce86795c3105899c19842 (patch) | |
tree | 5c592babe532c0093b66600c4e60996b6feb74e1 /Tests | |
parent | 3377141c8f18ecfed46f52a8be8228d982e32464 (diff) | |
download | CMake-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.txt | 4 |
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 |