diff options
author | Brad King <brad.king@kitware.com> | 2009-01-12 15:38:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-01-12 15:38:27 (GMT) |
commit | d66c25c2f05ce57e879360f2db90a4f8ca4da330 (patch) | |
tree | d10fc9cb841476bce7719b39d4c2f1b12890ce9c /Tests/CTestTest2 | |
parent | 447f5b303eab1b076f49ed52af90e554160dddc6 (diff) | |
download | CMake-d66c25c2f05ce57e879360f2db90a4f8ca4da330.zip CMake-d66c25c2f05ce57e879360f2db90a4f8ca4da330.tar.gz CMake-d66c25c2f05ce57e879360f2db90a4f8ca4da330.tar.bz2 |
ENH: Teach ctest_submit about parts
This adds a PARTS option to the ctest_submit command which tells it to
submit only parts whose names are listed with the option.
Diffstat (limited to 'Tests/CTestTest2')
-rw-r--r-- | Tests/CTestTest2/test.cmake.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/CTestTest2/test.cmake.in b/Tests/CTestTest2/test.cmake.in index c9e2636..643e767 100644 --- a/Tests/CTestTest2/test.cmake.in +++ b/Tests/CTestTest2/test.cmake.in @@ -42,3 +42,8 @@ CTEST_TEST(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res START 6 STRIDE 2 S CTEST_MEMCHECK(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res STRIDE 1.5) CTEST_COVERAGE(BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE res) CTEST_SUBMIT(RETURN_VALUE res) + +# Test submission of a subset of parts. +SET(CTEST_EXTRA_SUBMIT_FILES ${CTEST_NOTES_FILES}) +CTEST_SUBMIT(RETURN_VALUE res PARTS ExtraFiles) +SET(CTEST_EXTRA_SUBMIT_FILES) |