CMake

CMake.Math

command_line: /Users/runner/work/nightly-builds/nightly-builds/build/bin/cmake "-P" "/Users/runner/work/nightly-builds/nightly-builds/build/Tests/CMakeTests/MathTest.cmake"

working_directory: "./Tests/CMakeTests"

Processors: 1

Execution Time: 0.349

Completion Status: Completed

Environment: #CTEST_RESOURCE_GROUP_COUNT=

stdout:

execute_one_script_test
testname=[empty]
out=[-- testname='empty']
err=[CMake Error at /Users/runner/work/nightly-builds/nightly-builds/Tests/CMakeTests/MathTestScript.cmake:4 (math):
  math must be called with at least one argument.]

execute_one_script_test
testname=[bogus]
out=[-- testname='bogus']
err=[CMake Error at /Users/runner/work/nightly-builds/nightly-builds/Tests/CMakeTests/MathTestScript.cmake:7 (math):
  math does not recognize sub-command BOGUS]

execute_one_script_test
testname=[not_enough_args]
out=[-- testname='not_enough_args']
err=[CMake Error at /Users/runner/work/nightly-builds/nightly-builds/Tests/CMakeTests/MathTestScript.cmake:10 (math):
  math EXPR called with incorrect arguments.]

execute_one_script_test
testname=[cannot_parse]
out=[-- testname='cannot_parse']
err=[CMake Error at /Users/runner/work/nightly-builds/nightly-builds/Tests/CMakeTests/MathTestScript.cmake:13 (math):
  math cannot parse the expression: "1 + 2 +": syntax error, unexpected end
  of file (7).]

-- scriptname=...
[This part of the test output was removed since it exceeds the threshold of 1024 bytes.]
Status: passed
Loading...