diff options
author | Brad King <brad.king@kitware.com> | 2015-07-17 14:36:17 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-17 14:36:17 (GMT) |
commit | a5412fbab45c9386f95fba3567e38c7b1cf8308d (patch) | |
tree | a1d64dae4636cc5d9d96a2f6914fc42f6bd79e68 /Tests/RunCMake/ctest_build/RunCMakeTest.cmake | |
parent | 536b6c7519e221573cdf96db13b9d72b65c80b0b (diff) | |
parent | 601ff0ec55517bc2a80e9a8cc2340f1c18b93490 (diff) | |
download | CMake-a5412fbab45c9386f95fba3567e38c7b1cf8308d.zip CMake-a5412fbab45c9386f95fba3567e38c7b1cf8308d.tar.gz CMake-a5412fbab45c9386f95fba3567e38c7b1cf8308d.tar.bz2 |
Merge topic 'ctest-change-id'
601ff0ec CTest: Optionally add a ChangeId attribute on XML Site tags
Diffstat (limited to 'Tests/RunCMake/ctest_build/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/ctest_build/RunCMakeTest.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_build/RunCMakeTest.cmake b/Tests/RunCMake/ctest_build/RunCMakeTest.cmake index c6f732c..324f25c 100644 --- a/Tests/RunCMake/ctest_build/RunCMakeTest.cmake +++ b/Tests/RunCMake/ctest_build/RunCMakeTest.cmake @@ -31,3 +31,12 @@ endif() endif() endfunction() run_BuildFailure() + +function(run_BuildChangeId) + set(CASE_TEST_PREFIX_CODE [[ + set(CTEST_CHANGE_ID "<>1") + ]]) + + run_ctest(BuildChangeId) +endfunction() +run_BuildChangeId() |