summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_run
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-01 17:53:49 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-02 16:54:56 (GMT)
commit6b427d8da9b5f5db3753c499765b4b62f8e9020d (patch)
tree8c474dee4b3f9fafed9ecd813f3c69aa2603e2d5 /Tests/RunCMake/try_run
parent067ba3a2bd1ce168b2867de74d2ea6b944a936fc (diff)
downloadCMake-6b427d8da9b5f5db3753c499765b4b62f8e9020d.zip
CMake-6b427d8da9b5f5db3753c499765b4b62f8e9020d.tar.gz
CMake-6b427d8da9b5f5db3753c499765b4b62f8e9020d.tar.bz2
cmCoreTryCompile: Port to cmArgumentParser
Diffstat (limited to 'Tests/RunCMake/try_run')
-rw-r--r--Tests/RunCMake/try_run/NoCompileOutputVariable-stderr.txt8
-rw-r--r--Tests/RunCMake/try_run/NoOutputVariable-stderr.txt8
-rw-r--r--Tests/RunCMake/try_run/NoRunOutputVariable-stderr.txt8
-rw-r--r--Tests/RunCMake/try_run/NoRunStdErrVariable-stderr.txt8
-rw-r--r--Tests/RunCMake/try_run/NoRunStdOutVariable-stderr.txt8
-rw-r--r--Tests/RunCMake/try_run/NoWorkingDirectory-stderr.txt8
6 files changed, 30 insertions, 18 deletions
diff --git a/Tests/RunCMake/try_run/NoCompileOutputVariable-stderr.txt b/Tests/RunCMake/try_run/NoCompileOutputVariable-stderr.txt
index 6feaf4f..e8baffb 100644
--- a/Tests/RunCMake/try_run/NoCompileOutputVariable-stderr.txt
+++ b/Tests/RunCMake/try_run/NoCompileOutputVariable-stderr.txt
@@ -1,5 +1,7 @@
-^CMake Error: COMPILE_OUTPUT_VARIABLE specified but there is no variable
-CMake Error at NoCompileOutputVariable.cmake:[0-9]+ \(try_run\):
- try_run unknown error.
+^CMake Error at NoCompileOutputVariable.cmake:[0-9]+ \(try_run\):
+ Error after keyword "COMPILE_OUTPUT_VARIABLE":
+
+ missing required value
+
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)$
diff --git a/Tests/RunCMake/try_run/NoOutputVariable-stderr.txt b/Tests/RunCMake/try_run/NoOutputVariable-stderr.txt
index 33e7df1..46cfca0 100644
--- a/Tests/RunCMake/try_run/NoOutputVariable-stderr.txt
+++ b/Tests/RunCMake/try_run/NoOutputVariable-stderr.txt
@@ -1,5 +1,7 @@
-^CMake Error: OUTPUT_VARIABLE specified but there is no variable
-CMake Error at NoOutputVariable.cmake:[0-9]+ \(try_run\):
- try_run unknown error.
+^CMake Error at NoOutputVariable.cmake:[0-9]+ \(try_run\):
+ Error after keyword "OUTPUT_VARIABLE":
+
+ missing required value
+
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)$
diff --git a/Tests/RunCMake/try_run/NoRunOutputVariable-stderr.txt b/Tests/RunCMake/try_run/NoRunOutputVariable-stderr.txt
index 5ec697b..8ccbdab 100644
--- a/Tests/RunCMake/try_run/NoRunOutputVariable-stderr.txt
+++ b/Tests/RunCMake/try_run/NoRunOutputVariable-stderr.txt
@@ -1,5 +1,7 @@
-^CMake Error: RUN_OUTPUT_VARIABLE specified but there is no variable
-CMake Error at NoRunOutputVariable.cmake:[0-9]+ \(try_run\):
- try_run unknown error.
+^CMake Error at NoRunOutputVariable.cmake:[0-9]+ \(try_run\):
+ Error after keyword "RUN_OUTPUT_VARIABLE":
+
+ missing required value
+
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)$
diff --git a/Tests/RunCMake/try_run/NoRunStdErrVariable-stderr.txt b/Tests/RunCMake/try_run/NoRunStdErrVariable-stderr.txt
index 8dee056..04ffc5d 100644
--- a/Tests/RunCMake/try_run/NoRunStdErrVariable-stderr.txt
+++ b/Tests/RunCMake/try_run/NoRunStdErrVariable-stderr.txt
@@ -1,5 +1,7 @@
-^CMake Error: RUN_OUTPUT_STDERR_VARIABLE specified but there is no variable
-CMake Error at NoRunStdErrVariable.cmake:1 \(try_run\):
- try_run unknown error.
+^CMake Error at NoRunStdErrVariable.cmake:1 \(try_run\):
+ Error after keyword "RUN_OUTPUT_STDERR_VARIABLE":
+
+ missing required value
+
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/try_run/NoRunStdOutVariable-stderr.txt b/Tests/RunCMake/try_run/NoRunStdOutVariable-stderr.txt
index 5ea6d23..40e0e27 100644
--- a/Tests/RunCMake/try_run/NoRunStdOutVariable-stderr.txt
+++ b/Tests/RunCMake/try_run/NoRunStdOutVariable-stderr.txt
@@ -1,5 +1,7 @@
-^CMake Error: RUN_OUTPUT_STDOUT_VARIABLE specified but there is no variable
-CMake Error at NoRunStdOutVariable.cmake:1 \(try_run\):
- try_run unknown error.
+^CMake Error at NoRunStdOutVariable.cmake:1 \(try_run\):
+ Error after keyword "RUN_OUTPUT_STDOUT_VARIABLE":
+
+ missing required value
+
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)$
diff --git a/Tests/RunCMake/try_run/NoWorkingDirectory-stderr.txt b/Tests/RunCMake/try_run/NoWorkingDirectory-stderr.txt
index 10ad85c..b6e258f 100644
--- a/Tests/RunCMake/try_run/NoWorkingDirectory-stderr.txt
+++ b/Tests/RunCMake/try_run/NoWorkingDirectory-stderr.txt
@@ -1,5 +1,7 @@
-^CMake Error: WORKING_DIRECTORY specified but there is no variable
-CMake Error at NoWorkingDirectory.cmake:[0-9]+ \(try_run\):
- try_run unknown error.
+^CMake Error at NoWorkingDirectory.cmake:[0-9]+ \(try_run\):
+ Error after keyword "WORKING_DIRECTORY":
+
+ missing required value
+
Call Stack \(most recent call first\):
CMakeLists.txt:[0-9]+ \(include\)$