Tests/RunCMake/include: Match incidental line numbers more robustly

This commit is contained in:
Brad King
2025-04-12 08:26:02 -04:00
parent 8d034572fd
commit 002979e145
5 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
^CMake Warning \(dev\) at EmptyString\.cmake:1 \(include\):
include\(\) given empty file name \(ignored\).
Call Stack \(most recent call first\):
CMakeLists\.txt:3 \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.$

View File

@@ -1,5 +1,5 @@
^CMake Warning \(dev\) at EmptyStringOptional\.cmake:1 \(include\):
include\(\) given empty file name \(ignored\).
Call Stack \(most recent call first\):
CMakeLists\.txt:3 \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
This warning is for project developers\. Use -Wno-dev to suppress it\.$

View File

@@ -4,4 +4,4 @@
[^
]*/Tests/RunCMake/include/ExportExportInclude-build/theTargets\.cmake
Call Stack \(most recent call first\):
CMakeLists\.txt:3 \(include\)$
CMakeLists\.txt:[0-9]+ \(include\)$

View File

@@ -4,4 +4,4 @@
[^
]*/Tests/RunCMake/include/IncludeIsDirectory-build
Call Stack \(most recent call first\):
CMakeLists\.txt:3 \(include\)$
CMakeLists\.txt:[0-9]+ \(include\)$

View File

@@ -2,11 +2,11 @@
Parse error\. Function missing ending "\)"\. End of file reached\.
Call Stack \(most recent call first\):
IncludeMalformed\.cmake:1 \(include\)
CMakeLists\.txt:3 \(include\)
CMakeLists\.txt:[0-9]+ \(include\)
+
CMake Error at IncludeMalformed\.cmake:1 \(include\):
include could not load requested file:
malformedInclude\.cmake
Call Stack \(most recent call first\):
CMakeLists\.txt:3 \(include\)$
CMakeLists\.txt:[0-9]+ \(include\)$