CMake/Tests/RunCMake/add_test
Brad King 13ece67a58 Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR
Evaluate generator expressions in these properties, as they apply to
`add_test`, `add_custom_command`, and `add_custom_target`.

The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs
at configure time and so cannot support generator expressions.
2024-01-29 10:30:24 -05:00
..
TestLauncher Tests: Improve RunCMake.add_test TEST_LAUNCHER coverage 2024-01-27 11:34:35 -05:00
CheckEmptyArgument.cmake add_test: Restore support for empty test arguments 2023-06-09 09:47:52 -04:00
CMakeLists.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-AlphaNumeric.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-BracketArgument.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-EscapedSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-FormerInvalidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-LeadingAndTrailingWhitespace.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-OtherSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-Quote.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-Semicolon.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-Space.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common-ValidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Common.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-AlphaNumeric-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-AlphaNumeric.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-BracketArgument-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-BracketArgument.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-EscapedSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-EscapedSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-FormerInvalidSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-FormerInvalidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-FormerInvalidSpecialCharsMC.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-GeneratorExpressionSyntax.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-LeadingAndTrailingWhitespace-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-LeadingAndTrailingWhitespace.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-OtherSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-OtherSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-Quote-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-Quote.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-Semicolon.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-Space.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-ValidSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-NEW-ValidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-AlphaNumeric-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-AlphaNumeric-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-AlphaNumeric.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-BracketArgument-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-BracketArgument-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-BracketArgument.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-EscapedSpecialChars-ctest-result.txt CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR) 2020-08-26 11:27:05 -04:00
CMP0110-OLD-EscapedSpecialChars-ctest-stderr.txt CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR) 2020-08-26 11:27:05 -04:00
CMP0110-OLD-EscapedSpecialChars-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-EscapedSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-FormerInvalidSpecialChars-ctest-result.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-FormerInvalidSpecialChars-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-FormerInvalidSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-FormerInvalidSpecialChars-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-FormerInvalidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-FormerInvalidSpecialCharsMC-ctest-result.txt CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR) 2020-08-26 11:27:05 -04:00
CMP0110-OLD-FormerInvalidSpecialCharsMC-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-FormerInvalidSpecialCharsMC-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-FormerInvalidSpecialCharsMC.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-GeneratorExpressionSyntax.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-LeadingAndTrailingWhitespace-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-LeadingAndTrailingWhitespace-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-LeadingAndTrailingWhitespace.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-OtherSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-OtherSpecialChars-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-OtherSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Quote-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Quote-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-Quote.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Semicolon-ctest-result.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Semicolon-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Semicolon-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Semicolon-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-Semicolon.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Space-ctest-result.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Space-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Space-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-Space-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-Space.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-ValidSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-OLD-ValidSpecialChars-stderr.txt Add deprecation warnings for policies CMP0114 and below 2023-02-01 17:01:38 -05:00
CMP0110-OLD-ValidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-Test.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-AlphaNumeric-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-AlphaNumeric.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-BracketArgument-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-BracketArgument-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-BracketArgument.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-EscapedSpecialChars-ctest-result.txt CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR) 2020-08-26 11:27:05 -04:00
CMP0110-WARN-EscapedSpecialChars-ctest-stderr.txt CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR) 2020-08-26 11:27:05 -04:00
CMP0110-WARN-EscapedSpecialChars-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-EscapedSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialChars-ctest-result.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialChars-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialChars-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialCharsMC-ctest-result.txt CTest: exit nonzero after message(SEND_ERROR|FATAL_ERROR) 2020-08-26 11:27:05 -04:00
CMP0110-WARN-FormerInvalidSpecialCharsMC-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialCharsMC-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-FormerInvalidSpecialCharsMC.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-GeneratorExpressionSyntax.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-LeadingAndTrailingWhitespace-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-LeadingAndTrailingWhitespace-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-LeadingAndTrailingWhitespace.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-OtherSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-OtherSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Quote-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Quote-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Quote.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Semicolon-ctest-result.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Semicolon-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Semicolon-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Semicolon-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Semicolon.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Space-ctest-result.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Space-ctest-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Space-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Space-stderr.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-Space.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-ValidSpecialChars-ctest-stdout.txt add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
CMP0110-WARN-ValidSpecialChars.cmake add_test: Allow special characters in test name (w/ policy CMP0110) 2020-08-12 10:44:07 -04:00
EmptyArgument.cmake add_test: Restore support for empty test arguments 2023-06-09 09:47:52 -04:00
main.c Tests: Improve RunCMake.add_test TEST_LAUNCHER coverage 2024-01-27 11:34:35 -05:00
RunCMakeTest.cmake Tests: Improve RunCMake.add_test TEST_LAUNCHER coverage 2024-01-27 11:34:35 -05:00
TestLauncher-check.cmake Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR 2024-01-29 10:30:24 -05:00
TestLauncher-test-stdout.txt Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR 2024-01-29 10:30:24 -05:00
TestLauncher.cmake Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR 2024-01-29 10:30:24 -05:00
TestLauncherProperty.cmake Tests: Improve RunCMake.add_test TEST_LAUNCHER coverage 2024-01-27 11:34:35 -05:00