summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_update/RunCMakeTest.cmake
blob: 0e1748f18c4de35c8a205184c8489d304be61f04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include(RunCTest)
set(CASE_CTEST_UPDATE_ARGS "")
function(run_ctest_update CASE_NAME)
  set(CASE_CTEST_UPDATE_ARGS "${ARGN}")
  run_ctest(${CASE_NAME})
endfunction()

run_ctest_update(TestQuiet QUIET)

function(run_TestChangeId)
  set(CASE_TEST_PREFIX_CODE [[
    set(CTEST_CHANGE_ID "<>1")
  ]])

  run_ctest(TestChangeId)
endfunction()
run_TestChangeId()