ソースを参照

Tests/RunCMake: Match diagnostic line numbers more robustly

Brad King 1 年間 前
コミット
1d38d52995
52 ファイル変更78 行追加78 行削除
  1. 6 6
      Tests/RunCMake/GeneratorExpression/BadAND-stderr.txt
  2. 4 4
      Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt
  3. 1 1
      Tests/RunCMake/GeneratorExpression/BadIF-stderr.txt
  4. 1 1
      Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt
  5. 6 6
      Tests/RunCMake/GeneratorExpression/BadNOT-stderr.txt
  6. 6 6
      Tests/RunCMake/GeneratorExpression/BadOR-stderr.txt
  7. 3 3
      Tests/RunCMake/GeneratorExpression/BadSHELL_PATH-stderr.txt
  8. 4 4
      Tests/RunCMake/GeneratorExpression/BadStrEqual-stderr.txt
  9. 1 1
      Tests/RunCMake/GeneratorExpression/BadTargetName-stderr.txt
  10. 3 3
      Tests/RunCMake/GeneratorExpression/BadTargetTypeObject-stderr.txt
  11. 2 2
      Tests/RunCMake/GeneratorExpression/BadZero-stderr.txt
  12. 1 1
      Tests/RunCMake/GeneratorExpression/CMP0044-WARN-stderr.txt
  13. 1 1
      Tests/RunCMake/GeneratorExpression/COMPILE_ONLY-not-compiling-stderr.txt
  14. 1 1
      Tests/RunCMake/GeneratorExpression/FILTER-InvalidOperator-stderr.txt
  15. 1 1
      Tests/RunCMake/GeneratorExpression/LINK_ONLY-not-linking-stderr.txt
  16. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-CXX_COMPILER_FRONTEND_VARIANT-stderr.txt
  17. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-CXX_COMPILER_ID-stderr.txt
  18. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-CXX_COMPILER_VERSION-stderr.txt
  19. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-C_COMPILER_FRONTEND_VARIANT-stderr.txt
  20. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-C_COMPILER_ID-stderr.txt
  21. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-C_COMPILER_VERSION-stderr.txt
  22. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_FRONTEND_VARIANT-stderr.txt
  23. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_ID-stderr.txt
  24. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_VERSION-stderr.txt
  25. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_POLICY-stderr.txt
  26. 1 1
      Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt
  27. 1 1
      Tests/RunCMake/try_compile/BadLinkLibraries-stderr.txt
  28. 1 1
      Tests/RunCMake/try_compile/BadSources1-stderr.txt
  29. 1 1
      Tests/RunCMake/try_compile/BadSources2-stderr.txt
  30. 1 1
      Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile-stderr.txt
  31. 1 1
      Tests/RunCMake/try_compile/NoArgs-stderr.txt
  32. 1 1
      Tests/RunCMake/try_compile/NoCStandard-stderr.txt
  33. 1 1
      Tests/RunCMake/try_compile/NoCopyFile-stderr.txt
  34. 1 1
      Tests/RunCMake/try_compile/NoCopyFile2-stderr.txt
  35. 1 1
      Tests/RunCMake/try_compile/NoCopyFileError-stderr.txt
  36. 1 1
      Tests/RunCMake/try_compile/NoLogDescription-stderr.txt
  37. 1 1
      Tests/RunCMake/try_compile/NoOutputVariable-stderr.txt
  38. 1 1
      Tests/RunCMake/try_compile/NoOutputVariable2-stderr.txt
  39. 1 1
      Tests/RunCMake/try_compile/NoSources-stderr.txt
  40. 1 1
      Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt
  41. 1 1
      Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt
  42. 1 1
      Tests/RunCMake/try_compile/OldProjectSrcDirEmpty-stderr.txt
  43. 1 1
      Tests/RunCMake/try_compile/OneArg-stderr.txt
  44. 1 1
      Tests/RunCMake/try_compile/ProjectCopyFile-stderr.txt
  45. 1 1
      Tests/RunCMake/try_compile/ProjectSrcDirEmpty-stderr.txt
  46. 1 1
      Tests/RunCMake/try_compile/ProjectSrcDirMissing-stderr.txt
  47. 1 1
      Tests/RunCMake/try_compile/SourceFromBadFile-stderr.txt
  48. 1 1
      Tests/RunCMake/try_compile/SourceFromBadName-stderr.txt
  49. 1 1
      Tests/RunCMake/try_compile/SourceFromOneArg-stderr.txt
  50. 1 1
      Tests/RunCMake/try_compile/SourceFromThreeArgs-stderr.txt
  51. 1 1
      Tests/RunCMake/try_compile/TargetTypeInvalid-stderr.txt
  52. 1 1
      Tests/RunCMake/try_compile/TwoArgs-stderr.txt

+ 6 - 6
Tests/RunCMake/GeneratorExpression/BadAND-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadAND.cmake:1 \(add_custom_target\):
 
 
   \$<AND> expression requires at least one parameter.
   \$<AND> expression requires at least one parameter.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -14,7 +14,7 @@ CMake Error at BadAND.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<AND> must resolve to either '0' or '1'.
   Parameters to \$<AND> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -23,7 +23,7 @@ CMake Error at BadAND.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<AND> must resolve to either '0' or '1'.
   Parameters to \$<AND> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -32,7 +32,7 @@ CMake Error at BadAND.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<AND> must resolve to either '0' or '1'.
   Parameters to \$<AND> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -41,7 +41,7 @@ CMake Error at BadAND.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<AND> must resolve to either '0' or '1'.
   Parameters to \$<AND> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
 CMake Error at BadAND.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -50,6 +50,6 @@ CMake Error at BadAND.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<AND> must resolve to either '0' or '1'.
   Parameters to \$<AND> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$

+ 4 - 4
Tests/RunCMake/GeneratorExpression/BadCONFIG-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
 
 
   Expression syntax not recognized.
   Expression syntax not recognized.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
 CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -14,7 +14,7 @@ CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
 
 
   Expression syntax not recognized.
   Expression syntax not recognized.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
 CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -23,7 +23,7 @@ CMake Error at BadCONFIG.cmake:1 \(add_custom_target\):
 
 
   Expression syntax not recognized.
   Expression syntax not recognized.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Warning at BadCONFIG.cmake:1 \(add_custom_target\):
 CMake Warning at BadCONFIG.cmake:1 \(add_custom_target\):
   Warning evaluating generator expression:
   Warning evaluating generator expression:
@@ -32,6 +32,6 @@ CMake Warning at BadCONFIG.cmake:1 \(add_custom_target\):
 
 
   The config name of "Foo-Second" is invalid
   The config name of "Foo-Second" is invalid
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$

+ 1 - 1
Tests/RunCMake/GeneratorExpression/BadIF-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadIF.cmake:2 \(add_custom_target\):
 
 
   First parameter to \$<IF> must resolve to exactly one '0' or '1' value.
   First parameter to \$<IF> must resolve to exactly one '0' or '1' value.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadIF.cmake:2 \(add_custom_target\):
 CMake Error at BadIF.cmake:2 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:

+ 1 - 1
Tests/RunCMake/GeneratorExpression/BadInstallPrefix-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at BadInstallPrefix.cmake:1 \(add_custom_target\):
   INSTALL_PREFIX is a marker for install\(EXPORT\) only.  It should never be
   INSTALL_PREFIX is a marker for install\(EXPORT\) only.  It should never be
   evaluated.
   evaluated.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 6 - 6
Tests/RunCMake/GeneratorExpression/BadNOT-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 
 
   \$<NOT> expression requires exactly one parameter.
   \$<NOT> expression requires exactly one parameter.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 +CMake Error at BadNOT.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
 
 
@@ -13,7 +13,7 @@ Call Stack \(most recent call first\):
 
 
   \$<NOT> parameter must resolve to exactly one '0' or '1' value.
   \$<NOT> parameter must resolve to exactly one '0' or '1' value.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -22,7 +22,7 @@ CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 
 
   \$<NOT> expression requires exactly one parameter.
   \$<NOT> expression requires exactly one parameter.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -31,7 +31,7 @@ CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 
 
   \$<NOT> expression requires exactly one parameter.
   \$<NOT> expression requires exactly one parameter.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -40,7 +40,7 @@ CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 
 
   \$<NOT> parameter must resolve to exactly one '0' or '1' value.
   \$<NOT> parameter must resolve to exactly one '0' or '1' value.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 CMake Error at BadNOT.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -49,6 +49,6 @@ CMake Error at BadNOT.cmake:1 \(add_custom_target\):
 
 
   \$<NOT> parameter must resolve to exactly one '0' or '1' value.
   \$<NOT> parameter must resolve to exactly one '0' or '1' value.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$

+ 6 - 6
Tests/RunCMake/GeneratorExpression/BadOR-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadOR.cmake:1 \(add_custom_target\):
 
 
   \$<OR> expression requires at least one parameter.
   \$<OR> expression requires at least one parameter.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -14,7 +14,7 @@ CMake Error at BadOR.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<OR> must resolve to either '0' or '1'.
   Parameters to \$<OR> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -23,7 +23,7 @@ CMake Error at BadOR.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<OR> must resolve to either '0' or '1'.
   Parameters to \$<OR> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -32,7 +32,7 @@ CMake Error at BadOR.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<OR> must resolve to either '0' or '1'.
   Parameters to \$<OR> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -41,7 +41,7 @@ CMake Error at BadOR.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<OR> must resolve to either '0' or '1'.
   Parameters to \$<OR> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
 CMake Error at BadOR.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -50,6 +50,6 @@ CMake Error at BadOR.cmake:1 \(add_custom_target\):
 
 
   Parameters to \$<OR> must resolve to either '0' or '1'.
   Parameters to \$<OR> must resolve to either '0' or '1'.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$

+ 3 - 3
Tests/RunCMake/GeneratorExpression/BadSHELL_PATH-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadSHELL_PATH.cmake:[0-9]+ \(add_custom_target\):
 
 
   "" is not an absolute path.
   "" is not an absolute path.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadSHELL_PATH.cmake:[0-9]+ \(add_custom_target\):
 CMake Error at BadSHELL_PATH.cmake:[0-9]+ \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -14,7 +14,7 @@ CMake Error at BadSHELL_PATH.cmake:[0-9]+ \(add_custom_target\):
 
 
   "Relative/Path" is not an absolute path.
   "Relative/Path" is not an absolute path.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadSHELL_PATH.cmake:[0-9]+ \(add_custom_target\):
 CMake Error at BadSHELL_PATH.cmake:[0-9]+ \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -23,4 +23,4 @@ CMake Error at BadSHELL_PATH.cmake:[0-9]+ \(add_custom_target\):
 
 
   "" is not an absolute path.
   "" is not an absolute path.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 4 - 4
Tests/RunCMake/GeneratorExpression/BadStrEqual-stderr.txt

@@ -6,7 +6,7 @@ CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 0
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 0
   instead.
   instead.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
 +CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
 
 
@@ -15,7 +15,7 @@ Call Stack \(most recent call first\):
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 1
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 1
   instead.
   instead.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
 CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -25,7 +25,7 @@ CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 3
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 3
   instead.
   instead.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
 CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -35,6 +35,6 @@ CMake Error at BadStrEqual.cmake:1 \(add_custom_target\):
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 3
   \$<STREQUAL> expression requires 2 comma separated parameters, but got 3
   instead.
   instead.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$

+ 1 - 1
Tests/RunCMake/GeneratorExpression/BadTargetName-stderr.txt

@@ -5,6 +5,6 @@ CMake Error at BadTargetName.cmake:1 \(add_custom_target\):
 
 
   \$<TARGET_NAME> expression requires literal input.
   \$<TARGET_NAME> expression requires literal input.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$
 CMake Generate step failed\.  Build files cannot be regenerated correctly\.$

+ 3 - 3
Tests/RunCMake/GeneratorExpression/BadTargetTypeObject-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadTargetTypeObject.cmake:2 \(add_custom_target\):
 
 
   Target "objlib" is not an executable or library.
   Target "objlib" is not an executable or library.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadTargetTypeObject.cmake:2 \(add_custom_target\):
 CMake Error at BadTargetTypeObject.cmake:2 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -14,7 +14,7 @@ CMake Error at BadTargetTypeObject.cmake:2 \(add_custom_target\):
 
 
   Target "objlib" is not an executable or library.
   Target "objlib" is not an executable or library.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadTargetTypeObject.cmake:2 \(add_custom_target\):
 CMake Error at BadTargetTypeObject.cmake:2 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -23,4 +23,4 @@ CMake Error at BadTargetTypeObject.cmake:2 \(add_custom_target\):
 
 
   Target "objlib" is not an executable or library.
   Target "objlib" is not an executable or library.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 2 - 2
Tests/RunCMake/GeneratorExpression/BadZero-stderr.txt

@@ -5,7 +5,7 @@ CMake Error at BadZero.cmake:2 \(add_custom_target\):
 
 
   \$<0> expression requires a parameter.
   \$<0> expression requires a parameter.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)
 +
 +
 CMake Error at BadZero.cmake:2 \(add_custom_target\):
 CMake Error at BadZero.cmake:2 \(add_custom_target\):
   Error evaluating generator expression:
   Error evaluating generator expression:
@@ -14,4 +14,4 @@ CMake Error at BadZero.cmake:2 \(add_custom_target\):
 
 
   Expression did not evaluate to a known generator expression
   Expression did not evaluate to a known generator expression
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/CMP0044-WARN-stderr.txt

@@ -3,5 +3,5 @@ CMake Warning \(dev\) at CMP0044-WARN.cmake:13 \(target_compile_definitions\):
   expressions.  Run "cmake --help-policy CMP0044" for policy details.  Use
   expressions.  Run "cmake --help-policy CMP0044" for policy details.  Use
   the cmake_policy command to set the policy and suppress this warning.
   the cmake_policy command to set the policy and suppress this warning.
 Call Stack \(most recent call first\):
 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.
 This warning is for project developers.  Use -Wno-dev to suppress it.

+ 1 - 1
Tests/RunCMake/GeneratorExpression/COMPILE_ONLY-not-compiling-stderr.txt

@@ -5,4 +5,4 @@ CMake Error at COMPILE_ONLY-not-compiling.cmake:1 \(add_custom_target\):
 
 
   \$<COMPILE_ONLY:...> may only be used for linking
   \$<COMPILE_ONLY:...> may only be used for linking
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/FILTER-InvalidOperator-stderr.txt

@@ -5,4 +5,4 @@ CMake Error at FILTER-InvalidOperator.cmake:3 \(file\):
 
 
   \$<FILTER:...> second parameter must be either INCLUDE or EXCLUDE
   \$<FILTER:...> second parameter must be either INCLUDE or EXCLUDE
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/LINK_ONLY-not-linking-stderr.txt

@@ -5,4 +5,4 @@ CMake Error at LINK_ONLY-not-linking.cmake:1 \(add_custom_target\):
 
 
   \$<LINK_ONLY:...> may only be used for linking
   \$<LINK_ONLY:...> may only be used for linking
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-CXX_COMPILER_FRONTEND_VARIANT-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-CXX_COMPILER_FRONTEND_VARIANT.cmake:1 \(add_custom
   \$<CXX_COMPILER_FRONTEND_VARIANT> may only be used with binary targets.  It
   \$<CXX_COMPILER_FRONTEND_VARIANT> may only be used with binary targets.  It
   may not be used with add_custom_command or add_custom_target.
   may not be used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-CXX_COMPILER_ID-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-CXX_COMPILER_ID.cmake:1 \(add_custom_command\):
   \$<CXX_COMPILER_ID> may only be used with binary targets.  It may not be
   \$<CXX_COMPILER_ID> may only be used with binary targets.  It may not be
   used with add_custom_command or add_custom_target.
   used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-CXX_COMPILER_VERSION-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-CXX_COMPILER_VERSION.cmake:1 \(add_custom_command\
   \$<CXX_COMPILER_VERSION> may only be used with binary targets.  It may not
   \$<CXX_COMPILER_VERSION> may only be used with binary targets.  It may not
   be used with add_custom_command or add_custom_target.
   be used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-C_COMPILER_FRONTEND_VARIANT-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-C_COMPILER_FRONTEND_VARIANT.cmake:1 \(add_custom_c
   \$<C_COMPILER_FRONTEND_VARIANT> may only be used with binary targets.  It
   \$<C_COMPILER_FRONTEND_VARIANT> may only be used with binary targets.  It
   may not be used with add_custom_command or add_custom_target.
   may not be used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-C_COMPILER_ID-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-C_COMPILER_ID.cmake:1 \(add_custom_command\):
   \$<C_COMPILER_ID> may only be used with binary targets.  It may not be used
   \$<C_COMPILER_ID> may only be used with binary targets.  It may not be used
   with add_custom_command or add_custom_target.
   with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-C_COMPILER_VERSION-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-C_COMPILER_VERSION.cmake:1 \(add_custom_command\):
   \$<C_COMPILER_VERSION> may only be used with binary targets.  It may not be
   \$<C_COMPILER_VERSION> may only be used with binary targets.  It may not be
   used with add_custom_command or add_custom_target.
   used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_FRONTEND_VARIANT-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-Fortran_COMPILER_FRONTEND_VARIANT.cmake:1 \(add_cu
   \$<Fortran_COMPILER_FRONTEND_VARIANT> may only be used with binary targets.
   \$<Fortran_COMPILER_FRONTEND_VARIANT> may only be used with binary targets.
   It may not be used with add_custom_command or add_custom_target.
   It may not be used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_ID-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-Fortran_COMPILER_ID.cmake:1 \(add_custom_command\)
   \$<Fortran_COMPILER_ID> may only be used with binary targets.  It may not be
   \$<Fortran_COMPILER_ID> may only be used with binary targets.  It may not be
   used with add_custom_command or add_custom_target.
   used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-Fortran_COMPILER_VERSION-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-Fortran_COMPILER_VERSION.cmake:1 \(add_custom_comm
   \$<Fortran_COMPILER_VERSION> may only be used with binary targets.  It may
   \$<Fortran_COMPILER_VERSION> may only be used with binary targets.  It may
   not be used with add_custom_command or add_custom_target.
   not be used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_POLICY-stderr.txt

@@ -6,4 +6,4 @@ CMake Error at NonValidTarget-TARGET_POLICY.cmake:1 \(add_custom_command\):
   \$<TARGET_POLICY:prop> may only be used with binary targets.  It may not be
   \$<TARGET_POLICY:prop> may only be used with binary targets.  It may not be
   used with add_custom_command or add_custom_target.
   used with add_custom_command or add_custom_target.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/GeneratorExpression/NonValidTarget-TARGET_PROPERTY-stderr.txt

@@ -8,4 +8,4 @@ CMake Error at NonValidTarget-TARGET_PROPERTY.cmake:1 \(add_custom_command\):
   to read a property from using the \$<TARGET_PROPERTY:tgt,prop> signature
   to read a property from using the \$<TARGET_PROPERTY:tgt,prop> signature
   instead.
   instead.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
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
   Only libraries may be used as try_compile or try_run IMPORTED
   LINK_LIBRARIES.  Got not_a_library of type UTILITY.
   LINK_LIBRARIES.  Got not_a_library of type UTILITY.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
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.
   See project\(\) command to enable other languages.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
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.
   See project\(\) command to enable other languages.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/CopyFileErrorNoCopyFile-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at CopyFileErrorNoCopyFile.cmake:[0-9]+ \(try_compile\):
 CMake Error at CopyFileErrorNoCopyFile.cmake:[0-9]+ \(try_compile\):
   COPY_FILE_ERROR may be used only with COPY_FILE
   COPY_FILE_ERROR may be used only with COPY_FILE
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoArgs-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at NoArgs.cmake:[0-9]+ \(try_compile\):
 CMake Error at NoArgs.cmake:[0-9]+ \(try_compile\):
   The try_compile\(\) command requires at least 3 arguments.
   The try_compile\(\) command requires at least 3 arguments.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoCStandard-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoCStandard.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoCopyFile-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoCopyFile.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoCopyFile2-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoCopyFile2.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoCopyFileError-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoCopyFileError.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoLogDescription-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoLogDescription.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoOutputVariable-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoOutputVariable.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoOutputVariable2-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoOutputVariable2.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NoSources-stderr.txt

@@ -4,4 +4,4 @@ CMake Error at NoSources.cmake:[0-9]+ \(try_compile\):
     missing required value
     missing required value
 
 
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NonSourceCompileDefinitions-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at NonSourceCompileDefinitions.cmake:[0-9]+ \(try_compile\):
 CMake Error at NonSourceCompileDefinitions.cmake:[0-9]+ \(try_compile\):
   COMPILE_DEFINITIONS allowed only in source file signature
   COMPILE_DEFINITIONS allowed only in source file signature
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/NonSourceCopyFile-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at NonSourceCopyFile.cmake:[0-9]+ \(try_compile\):
 CMake Error at NonSourceCopyFile.cmake:[0-9]+ \(try_compile\):
   COPY_FILE allowed only in source file signature
   COPY_FILE allowed only in source file signature
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/OldProjectSrcDirEmpty-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at OldProjectSrcDirEmpty.cmake:[0-9]+ \(try_compile\):
 CMake Error at OldProjectSrcDirEmpty.cmake:[0-9]+ \(try_compile\):
   No <srcdir> specified.
   No <srcdir> specified.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/OneArg-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at OneArg.cmake:[0-9]+ \(try_compile\):
 CMake Error at OneArg.cmake:[0-9]+ \(try_compile\):
   The try_compile\(\) command requires at least 3 arguments.
   The try_compile\(\) command requires at least 3 arguments.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/ProjectCopyFile-stderr.txt

@@ -4,4 +4,4 @@ CMake Warning \(dev\) at ProjectCopyFile.cmake:[0-9]+ \(try_compile\):
     "COPY_FILE"
     "COPY_FILE"
     "result"
     "result"
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/ProjectSrcDirEmpty-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at ProjectSrcDirEmpty.cmake:[0-9]+ \(try_compile\):
 CMake Error at ProjectSrcDirEmpty.cmake:[0-9]+ \(try_compile\):
   No <srcdir> specified.
   No <srcdir> specified.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/ProjectSrcDirMissing-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at ProjectSrcDirMissing.cmake:[0-9]+ \(try_compile\):
 CMake Error at ProjectSrcDirMissing.cmake:[0-9]+ \(try_compile\):
   No <srcdir> specified.
   No <srcdir> specified.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/SourceFromBadFile-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at SourceFromBadFile.cmake:[0-9]+ \(try_compile\):
 CMake Error at SourceFromBadFile.cmake:[0-9]+ \(try_compile\):
   SOURCE_FROM_FILE failed to copy "bad#source.c": No such file or directory
   SOURCE_FROM_FILE failed to copy "bad#source.c": No such file or directory
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/SourceFromBadName-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at SourceFromBadName.cmake:[0-9]+ \(try_compile\):
 CMake Error at SourceFromBadName.cmake:[0-9]+ \(try_compile\):
   SOURCE_FROM_CONTENT given invalid filename "bad/name.c"
   SOURCE_FROM_CONTENT given invalid filename "bad/name.c"
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/SourceFromOneArg-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at SourceFromOneArg.cmake:[0-9]+ \(try_compile\):
 CMake Error at SourceFromOneArg.cmake:[0-9]+ \(try_compile\):
   SOURCE_FROM_CONTENT requires exactly two arguments
   SOURCE_FROM_CONTENT requires exactly two arguments
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/SourceFromThreeArgs-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at SourceFromThreeArgs.cmake:[0-9]+ \(try_compile\):
 CMake Error at SourceFromThreeArgs.cmake:[0-9]+ \(try_compile\):
   SOURCE_FROM_CONTENT requires exactly two arguments
   SOURCE_FROM_CONTENT requires exactly two arguments
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/TargetTypeInvalid-stderr.txt

@@ -2,4 +2,4 @@
   Invalid value 'INVALID' for CMAKE_TRY_COMPILE_TARGET_TYPE.  Only
   Invalid value 'INVALID' for CMAKE_TRY_COMPILE_TARGET_TYPE.  Only
   'EXECUTABLE' and 'STATIC_LIBRARY' are allowed.
   'EXECUTABLE' and 'STATIC_LIBRARY' are allowed.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)

+ 1 - 1
Tests/RunCMake/try_compile/TwoArgs-stderr.txt

@@ -1,4 +1,4 @@
 CMake Error at TwoArgs.cmake:[0-9]+ \(try_compile\):
 CMake Error at TwoArgs.cmake:[0-9]+ \(try_compile\):
   The try_compile\(\) command requires at least 3 arguments.
   The try_compile\(\) command requires at least 3 arguments.
 Call Stack \(most recent call first\):
 Call Stack \(most recent call first\):
-  CMakeLists.txt:3 \(include\)
+  CMakeLists.txt:[0-9]+ \(include\)