diff options
author | Brad King <brad.king@kitware.com> | 2022-07-19 18:29:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-07-22 14:32:25 (GMT) |
commit | 8a18e82e9581bd490253c1b2531c2c5e70c5d62b (patch) | |
tree | 365809519e39042a0aeea962089e75e642ec227b /Tests | |
parent | 7e4a9afa1a0eaf059e5704920ef82647dad79377 (diff) | |
download | CMake-8a18e82e9581bd490253c1b2531c2c5e70c5d62b.zip CMake-8a18e82e9581bd490253c1b2531c2c5e70c5d62b.tar.gz CMake-8a18e82e9581bd490253c1b2531c2c5e70c5d62b.tar.bz2 |
cmCMakePathCommand: Report keyword errors via argument parser results
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/cmake_path/BASE_DIRECTORY-no-arg-stderr.txt | 4 | ||||
-rw-r--r-- | Tests/RunCMake/cmake_path/OUTPUT_VARIABLE-no-arg-stderr.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Tests/RunCMake/cmake_path/BASE_DIRECTORY-no-arg-stderr.txt b/Tests/RunCMake/cmake_path/BASE_DIRECTORY-no-arg-stderr.txt index ac47545..ad7d134 100644 --- a/Tests/RunCMake/cmake_path/BASE_DIRECTORY-no-arg-stderr.txt +++ b/Tests/RunCMake/cmake_path/BASE_DIRECTORY-no-arg-stderr.txt @@ -1,2 +1,4 @@ CMake Error at .+/cmake_path/call-cmake_path.cmake:[0-9]+ \(cmake_path\): - cmake_path BASE_DIRECTORY requires an argument. + Error after keyword "BASE_DIRECTORY": + + missing required value diff --git a/Tests/RunCMake/cmake_path/OUTPUT_VARIABLE-no-arg-stderr.txt b/Tests/RunCMake/cmake_path/OUTPUT_VARIABLE-no-arg-stderr.txt index e1d6592..63289ef 100644 --- a/Tests/RunCMake/cmake_path/OUTPUT_VARIABLE-no-arg-stderr.txt +++ b/Tests/RunCMake/cmake_path/OUTPUT_VARIABLE-no-arg-stderr.txt @@ -1,2 +1,4 @@ CMake Error at .+/cmake_path/call-cmake_path.cmake:[0-9]+ \(cmake_path\): - cmake_path OUTPUT_VARIABLE requires an argument. + Error after keyword "OUTPUT_VARIABLE": + + missing required value |