2015-06-05 22:03:26 +03:00
|
|
|
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
|
|
|
|
|
|
|
include(RunCMake)
|
|
|
|
include("${RunCMake_SOURCE_DIR}/CPackTestHelpers.cmake")
|
|
|
|
|
|
|
|
# args: TEST_NAME "GENERATORS" RUN_CMAKE_BUILD_STEP
|
2015-09-28 23:50:15 +03:00
|
|
|
run_cpack_test(MINIMAL "RPM;DEB;TGZ" false)
|
2016-09-20 00:44:06 +03:00
|
|
|
run_cpack_source_test(SOURCE_PACKAGE "RPM" true)
|
2015-06-05 22:12:08 +03:00
|
|
|
run_cpack_test(PARTIALLY_RELOCATABLE_WARNING "RPM" false)
|
2015-07-13 23:25:44 +03:00
|
|
|
run_cpack_test(DEB_EXTRA "DEB" false)
|
2015-07-30 00:39:11 +03:00
|
|
|
run_cpack_test(DEPENDENCIES "RPM;DEB" true)
|
2015-09-28 23:50:15 +03:00
|
|
|
run_cpack_test(EMPTY_DIR "RPM;DEB;TGZ" true)
|
|
|
|
run_cpack_test(COMPONENTS_EMPTY_DIR "RPM;DEB;TGZ" true)
|
2016-05-23 20:51:33 +03:00
|
|
|
run_cpack_test(CUSTOM_NAMES "RPM;DEB" true)
|
2015-12-07 22:13:09 +03:00
|
|
|
run_cpack_test(PER_COMPONENT_FIELDS "RPM;DEB" false)
|
2016-05-11 22:14:26 +03:00
|
|
|
run_cpack_test(RPM_DIST "RPM" false)
|
2016-02-13 04:09:32 +03:00
|
|
|
run_cpack_test(INSTALL_SCRIPTS "RPM" false)
|
2016-05-10 16:40:48 +03:00
|
|
|
run_cpack_test(DEB_GENERATE_SHLIBS "DEB" true)
|
|
|
|
run_cpack_test(DEB_GENERATE_SHLIBS_LDCONFIG "DEB" true)
|
2016-08-25 19:35:42 +03:00
|
|
|
run_cpack_test(DEBUGINFO "RPM" true)
|
2016-09-04 22:13:24 +03:00
|
|
|
run_cpack_test(LONG_FILENAMES "DEB" false)
|
2016-08-31 18:05:15 +03:00
|
|
|
run_cpack_test_subtests(PACKAGE_CHECKSUM "invalid;MD5;SHA1;SHA224;SHA256;SHA384;SHA512" "TGZ" false)
|