summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-10-03 12:58:21 (GMT)
committerBrad King <brad.king@kitware.com>2024-10-03 14:23:37 (GMT)
commit1d38d529958865cdb22d49c5f3f2f487558ccee2 (patch)
tree84b6a018a3d24ee5b719dcf5d0b1633fa420b915 /Tests/RunCMake/try_compile
parent55778f5a16ffe1b67123a31f6b568f2f7c0a1f36 (diff)
downloadCMake-1d38d529958865cdb22d49c5f3f2f487558ccee2.zip
CMake-1d38d529958865cdb22d49c5f3f2f487558ccee2.tar.gz
CMake-1d38d529958865cdb22d49c5f3f2f487558ccee2.tar.bz2
Tests/RunCMake: Match diagnostic line numbers more robustly
Diffstat (limited to 'Tests/RunCMake/try_compile')
-rw-r--r--Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/BadSources1-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/BadSources2-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoArgs-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoCStandard-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoCopyFile-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoCopyFile2-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoCopyFileError-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoLogDescription-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoOutputVariable-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoOutputVariable2-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NoSources-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/OldProjectSrcDirEmpty-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/OneArg-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/ProjectCopyFile-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/ProjectSrcDirEmpty-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/ProjectSrcDirMissing-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/SourceFromBadFile-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/SourceFromBadName-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/SourceFromOneArg-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/SourceFromThreeArgs-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/TargetTypeInvalid-stderr.txt2
-rw-r--r--Tests/RunCMake/try_compile/TwoArgs-stderr.txt2
26 files changed, 26 insertions, 26 deletions
diff --git a/Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt b/Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt
index 4e41a19..857f024 100644
--- a/Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt
+++ b/Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt
@@ -2,4 +2,4 @@ CMake Error at BadLinkLibraries.cmake:[0-9]+ \(try_compile\):
Only libraries may be used as try_compile or try_run IMPORTED
LINK_LIBRARIES. Got not_a_library of type UTILITY.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/BadSources1-stderr.txt b/Tests/RunCMake/try_compile/BadSources1-stderr.txt
index ddcba4f..865f651 100644
--- a/Tests/RunCMake/try_compile/BadSources1-stderr.txt
+++ b/Tests/RunCMake/try_compile/BadSources1-stderr.txt
@@ -9,4 +9,4 @@ CMake Error at BadSources1.cmake:[0-9]+ \(try_compile\):
See project\(\) command to enable other languages.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/BadSources2-stderr.txt b/Tests/RunCMake/try_compile/BadSources2-stderr.txt
index 953dd9c..1589eaa 100644
--- a/Tests/RunCMake/try_compile/BadSources2-stderr.txt
+++ b/Tests/RunCMake/try_compile/BadSources2-stderr.txt
@@ -9,4 +9,4 @@ CMake Error at BadSources2.cmake:[0-9]+ \(try_compile\):
See project\(\) command to enable other languages.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile-stderr.txt b/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile-stderr.txt
index 8c49302..25d6c6b 100644
--- a/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile-stderr.txt
+++ b/Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at CopyFileErrorNoCopyFile.cmake:[0-9]+ \(try_compile\):
COPY_FILE_ERROR may be used only with COPY_FILE
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoArgs-stderr.txt b/Tests/RunCMake/try_compile/NoArgs-stderr.txt
index 4228580..036bccb 100644
--- a/Tests/RunCMake/try_compile/NoArgs-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoArgs-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at NoArgs.cmake:[0-9]+ \(try_compile\):
The try_compile\(\) command requires at least 3 arguments.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoCStandard-stderr.txt b/Tests/RunCMake/try_compile/NoCStandard-stderr.txt
index e0bb9ed..6093510 100644
--- a/Tests/RunCMake/try_compile/NoCStandard-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoCStandard-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoCStandard.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt b/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
index 55ba687..0cb5228 100644
--- a/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoCopyFile.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoCopyFile2-stderr.txt b/Tests/RunCMake/try_compile/NoCopyFile2-stderr.txt
index 008d4e9..1271b12 100644
--- a/Tests/RunCMake/try_compile/NoCopyFile2-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoCopyFile2-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoCopyFile2.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoCopyFileError-stderr.txt b/Tests/RunCMake/try_compile/NoCopyFileError-stderr.txt
index 7ca185d..793a931 100644
--- a/Tests/RunCMake/try_compile/NoCopyFileError-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoCopyFileError-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoCopyFileError.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoLogDescription-stderr.txt b/Tests/RunCMake/try_compile/NoLogDescription-stderr.txt
index 9005bcd..806b2b4 100644
--- a/Tests/RunCMake/try_compile/NoLogDescription-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoLogDescription-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoLogDescription.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoOutputVariable-stderr.txt b/Tests/RunCMake/try_compile/NoOutputVariable-stderr.txt
index ec29f0b..0cdd4f1 100644
--- a/Tests/RunCMake/try_compile/NoOutputVariable-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoOutputVariable-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoOutputVariable.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoOutputVariable2-stderr.txt b/Tests/RunCMake/try_compile/NoOutputVariable2-stderr.txt
index dd34559..7382ee6 100644
--- a/Tests/RunCMake/try_compile/NoOutputVariable2-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoOutputVariable2-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoOutputVariable2.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NoSources-stderr.txt b/Tests/RunCMake/try_compile/NoSources-stderr.txt
index 55603dc..df1d335 100644
--- a/Tests/RunCMake/try_compile/NoSources-stderr.txt
+++ b/Tests/RunCMake/try_compile/NoSources-stderr.txt
@@ -4,4 +4,4 @@ CMake Error at NoSources.cmake:[0-9]+ \(try_compile\):
missing required value
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt b/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt
index dcd5c7a..21dcdaf 100644
--- a/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt
+++ b/Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at NonSourceCompileDefinitions.cmake:[0-9]+ \(try_compile\):
COMPILE_DEFINITIONS allowed only in source file signature
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt b/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt
index 1b7dfeb..e61360e 100644
--- a/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt
+++ b/Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at NonSourceCopyFile.cmake:[0-9]+ \(try_compile\):
COPY_FILE allowed only in source file signature
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/OldProjectSrcDirEmpty-stderr.txt b/Tests/RunCMake/try_compile/OldProjectSrcDirEmpty-stderr.txt
index 47dd60f..d18e6ec 100644
--- a/Tests/RunCMake/try_compile/OldProjectSrcDirEmpty-stderr.txt
+++ b/Tests/RunCMake/try_compile/OldProjectSrcDirEmpty-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at OldProjectSrcDirEmpty.cmake:[0-9]+ \(try_compile\):
No <srcdir> specified.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/OneArg-stderr.txt b/Tests/RunCMake/try_compile/OneArg-stderr.txt
index a2e983e..13727d7 100644
--- a/Tests/RunCMake/try_compile/OneArg-stderr.txt
+++ b/Tests/RunCMake/try_compile/OneArg-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at OneArg.cmake:[0-9]+ \(try_compile\):
The try_compile\(\) command requires at least 3 arguments.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/ProjectCopyFile-stderr.txt b/Tests/RunCMake/try_compile/ProjectCopyFile-stderr.txt
index 45241c9..5c239b6 100644
--- a/Tests/RunCMake/try_compile/ProjectCopyFile-stderr.txt
+++ b/Tests/RunCMake/try_compile/ProjectCopyFile-stderr.txt
@@ -4,4 +4,4 @@ CMake Warning \(dev\) at ProjectCopyFile.cmake:[0-9]+ \(try_compile\):
"COPY_FILE"
"result"
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/ProjectSrcDirEmpty-stderr.txt b/Tests/RunCMake/try_compile/ProjectSrcDirEmpty-stderr.txt
index dc6f354..d7af931 100644
--- a/Tests/RunCMake/try_compile/ProjectSrcDirEmpty-stderr.txt
+++ b/Tests/RunCMake/try_compile/ProjectSrcDirEmpty-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at ProjectSrcDirEmpty.cmake:[0-9]+ \(try_compile\):
No <srcdir> specified.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/ProjectSrcDirMissing-stderr.txt b/Tests/RunCMake/try_compile/ProjectSrcDirMissing-stderr.txt
index af6edd5..3422267 100644
--- a/Tests/RunCMake/try_compile/ProjectSrcDirMissing-stderr.txt
+++ b/Tests/RunCMake/try_compile/ProjectSrcDirMissing-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at ProjectSrcDirMissing.cmake:[0-9]+ \(try_compile\):
No <srcdir> specified.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/SourceFromBadFile-stderr.txt b/Tests/RunCMake/try_compile/SourceFromBadFile-stderr.txt
index 53a6d8d..9a3470d 100644
--- a/Tests/RunCMake/try_compile/SourceFromBadFile-stderr.txt
+++ b/Tests/RunCMake/try_compile/SourceFromBadFile-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at SourceFromBadFile.cmake:[0-9]+ \(try_compile\):
SOURCE_FROM_FILE failed to copy "bad#source.c": No such file or directory
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/SourceFromBadName-stderr.txt b/Tests/RunCMake/try_compile/SourceFromBadName-stderr.txt
index 041f3f1..a819a97 100644
--- a/Tests/RunCMake/try_compile/SourceFromBadName-stderr.txt
+++ b/Tests/RunCMake/try_compile/SourceFromBadName-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at SourceFromBadName.cmake:[0-9]+ \(try_compile\):
SOURCE_FROM_CONTENT given invalid filename "bad/name.c"
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/SourceFromOneArg-stderr.txt b/Tests/RunCMake/try_compile/SourceFromOneArg-stderr.txt
index 8b2248a..6de3b1e 100644
--- a/Tests/RunCMake/try_compile/SourceFromOneArg-stderr.txt
+++ b/Tests/RunCMake/try_compile/SourceFromOneArg-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at SourceFromOneArg.cmake:[0-9]+ \(try_compile\):
SOURCE_FROM_CONTENT requires exactly two arguments
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/SourceFromThreeArgs-stderr.txt b/Tests/RunCMake/try_compile/SourceFromThreeArgs-stderr.txt
index 5f2ff61..2e497e8 100644
--- a/Tests/RunCMake/try_compile/SourceFromThreeArgs-stderr.txt
+++ b/Tests/RunCMake/try_compile/SourceFromThreeArgs-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at SourceFromThreeArgs.cmake:[0-9]+ \(try_compile\):
SOURCE_FROM_CONTENT requires exactly two arguments
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/TargetTypeInvalid-stderr.txt b/Tests/RunCMake/try_compile/TargetTypeInvalid-stderr.txt
index e9123e3..65f74d7 100644
--- a/Tests/RunCMake/try_compile/TargetTypeInvalid-stderr.txt
+++ b/Tests/RunCMake/try_compile/TargetTypeInvalid-stderr.txt
@@ -2,4 +2,4 @@
Invalid value 'INVALID' for CMAKE_TRY_COMPILE_TARGET_TYPE. Only
'EXECUTABLE' and 'STATIC_LIBRARY' are allowed.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)
diff --git a/Tests/RunCMake/try_compile/TwoArgs-stderr.txt b/Tests/RunCMake/try_compile/TwoArgs-stderr.txt
index b68e78e..6df1ac1 100644
--- a/Tests/RunCMake/try_compile/TwoArgs-stderr.txt
+++ b/Tests/RunCMake/try_compile/TwoArgs-stderr.txt
@@ -1,4 +1,4 @@
CMake Error at TwoArgs.cmake:[0-9]+ \(try_compile\):
The try_compile\(\) command requires at least 3 arguments.
Call Stack \(most recent call first\):
- CMakeLists.txt:3 \(include\)
+ CMakeLists.txt:[0-9]+ \(include\)