blob: f8d7665ab20647df4a96da8351ae891f8fbe3f87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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(UpdateQuiet QUIET)
function(run_UpdateChangeId)
set(CASE_TEST_PREFIX_CODE [[
set(CTEST_CHANGE_ID "<>1")
]])
run_ctest(UpdateChangeId)
endfunction()
run_UpdateChangeId()
function(run_UpdateVersionOverride)
set(CASE_TEST_PREFIX_CODE [[
set(CTEST_UPDATE_VERSION_OVERRIDE "qwertyuiop")
]])
run_ctest(UpdateVersionOverride)
endfunction()
run_UpdateVersionOverride()
|