CMake/Tests/RunCMake/add_custom_command
Stephen Kelly 92d76b50aa Make the add_custom_command output more predictable
I otherwise get:

   Expected stderr to match:

    expect-err> CMake Error at AppendNotOutput.cmake:1 \(add_custom_command\):
    expect-err>   add_custom_command given APPEND option with output.*
    expect-err>   which is not already a custom command output.
    expect-err> Call Stack \(most recent call first\):
    expect-err>   CMakeLists.txt:3 \(include\)

   Actual stderr:

    actual-err> CMake Error at AppendNotOutput.cmake:1 (add_custom_command):
    actual-err>   add_custom_command given APPEND option with output
    actual-err>   "/home/stephen/dev/src/cmake/with
    actual-err> space/Tests/RunCMake/add_custom_command/AppendNotOutput-build/out" which is
    actual-err>   not already a custom command output.
    actual-err> Call Stack (most recent call first):
    actual-err>   CMakeLists.txt:3 (include)

Using a specific line for paths is a style already used elsewhere for
the same reason, such as CMP0041 output.
2016-09-19 08:49:46 -04:00
..
TargetNotInDir add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
AppendNoOutput-result.txt
AppendNoOutput-stderr.txt
AppendNoOutput.cmake
AppendNotOutput-result.txt
AppendNotOutput-stderr.txt Make the add_custom_command output more predictable 2016-09-19 08:49:46 -04:00
AppendNotOutput.cmake
BadArgument-result.txt
BadArgument-stderr.txt
BadArgument.cmake
CMakeLists.txt
NoArguments-result.txt
NoArguments-stderr.txt
NoArguments.cmake
NoOutputOrTarget-result.txt
NoOutputOrTarget-stderr.txt
NoOutputOrTarget.cmake
OutputAndTarget-result.txt
OutputAndTarget-stderr.txt
OutputAndTarget.cmake
RunCMakeTest.cmake add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
SourceByproducts-result.txt Add an option for explicit BYPRODUCTS of custom commands (#14963) 2014-11-14 16:16:00 -05:00
SourceByproducts-stderr.txt Add an option for explicit BYPRODUCTS of custom commands (#14963) 2014-11-14 16:16:00 -05:00
SourceByproducts.cmake Add an option for explicit BYPRODUCTS of custom commands (#14963) 2014-11-14 16:16:00 -05:00
SourceUsesTerminal-result.txt
SourceUsesTerminal-stderr.txt
SourceUsesTerminal.cmake
TargetImported-result.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetImported-stderr.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetImported.cmake add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetNotInDir-result.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetNotInDir-stderr.txt add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00
TargetNotInDir.cmake add_custom_command: Clarify error when TARGET is out of scope (#15681) 2016-01-28 10:33:26 -05:00