summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-10-04 22:43:28 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-07 13:19:04 (GMT)
commit758f58b4a18fbb512edd1baf520017e816fee20b (patch)
tree5d174c556cf38d0bf9dddc03c1e55b4d880cdb22 /Tests/RunCMake/CPack/RunCMakeTest.cmake
parent9c4d105680c99e194c6d6063315ee2affd2a7b63 (diff)
downloadCMake-758f58b4a18fbb512edd1baf520017e816fee20b.zip
CMake-758f58b4a18fbb512edd1baf520017e816fee20b.tar.gz
CMake-758f58b4a18fbb512edd1baf520017e816fee20b.tar.bz2
CPack/RPM learned defining main component
Main component rpm package is generated without component suffix in filename and package name.
Diffstat (limited to 'Tests/RunCMake/CPack/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CPack/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/RunCMakeTest.cmake b/Tests/RunCMake/CPack/RunCMakeTest.cmake
index 60d42ac..45dbcea 100644
--- a/Tests/RunCMake/CPack/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CPack/RunCMakeTest.cmake
@@ -12,6 +12,7 @@ run_cpack_test(DEPENDENCIES "RPM;DEB" true)
run_cpack_test(EMPTY_DIR "RPM;DEB;TGZ" true)
run_cpack_test(COMPONENTS_EMPTY_DIR "RPM;DEB;TGZ" true)
run_cpack_test(CUSTOM_NAMES "RPM;DEB" true)
+run_cpack_test_subtests(MAIN_COMPONENT "invalid;found" "RPM" false)
run_cpack_test(PER_COMPONENT_FIELDS "RPM;DEB" false)
run_cpack_test(RPM_DIST "RPM" false)
run_cpack_test(INSTALL_SCRIPTS "RPM" false)