summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CPack: enable setting default dir creation permissionsDomen Vrankar2017-11-081-0/+1
| | | | | | | | | | | Introduces CPACK_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable which adds support for functionality introduced by CMAKE_DEFAULT_DIRECTORY_INSTALL_PERMISSIONS variable. Fixes #17333 # Conflicts: # Help/release/dev/cmake-default-dir-install-permissions.rst
* CPack/Deb: handle shlibs file generation when SOVERSION set to 0Domen Vrankar2017-10-281-1/+1
| | | | | | | | Setting CPACK_DEBIAN_PACKAGE_GENERATE_SHLIBS did not auto generate shlibs control file when .so version of the library was set to 0. Fixes #17318
* CPack/Deb: CPACK_DEBIAN_PACKAGE_VERSION regex testing exceptionDomen Vrankar2017-10-101-0/+1
| | | | | | | | | | | | | CPACK_DEBIAN_PACKAGE_VERSION variable could in the past also contain release and epoch version so regex test should expect the entire versioning if both CPACK_DEBIAN_PACKAGE_RELEASE and CPACK_DEBIAN_PACKAGE_EPOCH are not set. Also since the checks were not performed in the past the regex test of CPACK_DEBIAN_PACKAGE_VERSION variable content should only report author warnings instead of errors in case of the test fail. Fixes: #17339
* Merge topic 'cpack-rpm-deb-version'Brad King2017-09-221-0/+1
|\ | | | | | | | | | | | | 74b7457f CPack RPM and DEB: improved package version handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1296
| * CPack RPM and DEB: improved package version handlingDomen Vrankar2017-09-211-0/+1
| | | | | | | | | | | | | | | | | | Adds support for epoch version to CPackRPM and CPackDeb packagers. Also adds better version checking to CPackDeb that complies with Debian rules. Fixes: #17057
* | CPack: Add missing check for CPACK_INSTALL_SCRIPT variableAlex Turbov2017-09-201-0/+1
|/ | | | | | | Also add a test case that uses CPACK_INSTALL_SCRIPT. Co-Author: Domen Vrankar <domen.vrankar@gmail.com> Fixes: #15005
* CPack/Archive: per component filenames supportDomen Vrankar2017-05-161-1/+1
| | | | | | Support for setting archive packager specific per component filenames and monolithic package filenames.
* CPack test symlinks in packageDomen Vrankar2017-05-141-0/+1
|
* CPack/RPM: handle extra slashesDomen Vrankar2017-03-131-0/+1
| | | | | | | | | | Extra slashes in some locations can cause errors during package generation and can also be present in generated rpm packages causing issues for the package user. Closes #16619
* CPack/STGZ: minimalistic packages testDomen Vrankar2017-01-221-1/+1
|
* CPack/RPM test for using custom binary spec fileDomen Vrankar2017-01-101-0/+1
|
* Merge topic 'cpack-new-tests'Brad King2017-01-101-1/+1
|\ | | | | | | | | | | | | 36bc7e4c store old locale to a temporary variable 05c14ea0 RunCMake.CPack_* add COMPONENT to minimal test 5b0a64eb CPack/Archive minimal tests for more formats
| * RunCMake.CPack_* add COMPONENT to minimal testDomen Vrankar2016-12-231-1/+1
| | | | | | | | | | Add component based packages testing to current monolithic minimal package tests.
| * CPack/Archive minimal tests for more formatsDomen Vrankar2016-12-231-1/+1
| |
* | CPack/Deb invalid md5sums file fixDomen Vrankar2016-12-231-0/+1
|/ | | | | | | | | Monolithic deb packages were packaged with invalid md5sums file as trailing slash in path was causing string replace to fail and preserve build path. Fixes #16517
* CPackRPM now supports multiple directives in CPACK_RPM_USER_FILELISTHarry Mallon2016-12-031-0/+1
| | | | | | | | * In older version "%dir %attr(-, root, root) foo" would put "%dir foo" in the final spec file. * Also added comment to describe this and advise not not to add trailing slashes to directories in USER_FILELIST. * Includes test in RunCMake CPack which now passes.
* Tests: source CPack tests don't require build stageDomen Vrankar2016-11-271-1/+1
|
* Tests: CPack test set packaging typeDomen Vrankar2016-11-271-19/+18
| | | | | | | | | CPack tests can now define one or more packaging types and that test will be executed once per generator per packaging type. This also enables us to set default values per packaging type for each generator which makes tests shorter.
* Tests: remove generator prefix from CPack test nameDomen Vrankar2016-11-271-5/+5
|
* Tests: Add SHA-3 algorithm coverage to CPack checksum testBrad King2016-11-111-1/+1
|
* CPack/RPM test for Suggests tagAlexander Adam2016-11-051-0/+1
| | | | | | | Suggests tag was not present in older versions of rpmbuild so we test that the rpm package is always generated either with Suggests tag present or skipped if not supported.
* CPack/RPM single debuginfo packagingDomen Vrankar2016-10-071-0/+1
| | | | | | | | | Generate a single debuginfo package even if components packaging is enabled. This makes issue #15668 resolution feature complete. Closes: #15486
* CPack/RPM learned defining main componentDomen Vrankar2016-10-071-0/+1
| | | | | | Main component rpm package is generated without component suffix in filename and package name.
* Merge topic 'cpack-rpm-srpm-package'Brad King2016-09-201-0/+1
|\ | | | | | | | | d9cec8ad CPack/RPM: Generate source rpm (SRPM) packages on demand
| * CPack/RPM: Generate source rpm (SRPM) packages on demandDomen Vrankar2016-09-201-0/+1
| | | | | | | | Closes: #15839
* | CPack: Add option to generate a checksum file next to each package filePetr Orlov2016-09-191-0/+1
|/ | | | Add variable CPACK_PACKAGE_CHECKSUM to activate it.
* CPack/DEB: Add option to select archive typeDomen Vrankar2016-09-051-0/+1
| | | | | | | Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an archive type that supports long file names. Closes: #14332
* CPack/RPM: Add test for debuginfo package generationDomen Vrankar2016-08-261-0/+1
|
* CPack/Deb possibility to change package nameDomen Vrankar2016-05-231-1/+1
| | | | | | | | This patch preserves backward compatibility of deb package names with previous CMake versions but similarly to CPack/RPM allows to change package name format and supports DEB-DEFAULT setting that produces proper Debian package names.
* Merge topic 'cpack-rpm-adding-dist-to-release-tag'Brad King2016-05-161-0/+1
|\ | | | | | | | | | | f5089cfc CPack/RPM adding dist to release tag test f7003a60 CPack/RPM release dist tag support
| * CPack/RPM adding dist to release tag testDomen Vrankar2016-05-141-0/+1
| | | | | | | | Tests and release notes
* | Merge topic 'cpack-rpm-different-package-names'Brad King2016-05-161-0/+1
|\ \ | | | | | | | | | | | | 44ee2d71 CPack/RPM different package names
| * | CPack/RPM different package namesDomen Vrankar2016-05-151-0/+1
| |/ | | | | | | | | | | | | | | Packagers may now set their own rpm package file names or request that rpmbuild tool chooses one for them. It also supports handing of situations where one spec file may produce multiple rpm packages.
* | CPack/Deb test changes due to breaking changesDomen Vrankar2016-05-131-0/+2
|/ | | | | | New CPack/Deb tests and changes to old tests as package file names and inter component dependency detection was changed.
* CPack/RPM support for upper cased component variablesDomen Vrankar2016-02-131-0/+1
| | | | | | | | | | CPACK_* variables expect component name in upper case. CPACK_RPM_* variables expected component name to be in same case as component name. This patch adds support for CPACK_RPM_* variables with upper case component names to match the convention with CPACK_* variables and also preserves same case component names for back compatibility.
* CPack: Added tests for package name and group controll fieldsDomen Vrankar2015-12-071-0/+1
|
* CPack: allow packaging of empty directoriesDomen Vrankar2015-09-281-1/+3
|
* Revert topic 'cpack-package-empty-dirs'Brad King2015-09-251-2/+0
| | | | | | | | | The changes in commit 47b060ae (CPackDeb: allow empty directories in component packages, 2015-09-21), commit b58de9fe (CPack: allow packaging of empty directories, 2015-09-21), and commit b761e90d (CPack: remove accidental changes, 2015-09-22) regressed packaging of CMake itself. Revert the changes until they can be revised and rebased on other changes that make additional fixes.
* CPack: allow packaging of empty directoriesDomen Vrankar2015-09-221-0/+2
|
* Tests/RunCMake/CPack: Add dependencies testsDomen Vrankar2015-08-061-0/+1
| | | | | Add tests for RPM and DEB package test for currently supported dependency features (requires, provides, conflicts, ...).
* CPack/DEB: component version of PACKAGE_CONTROL_EXTRADomen Vrankar2015-07-151-0/+1
| | | | | Component version of CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable.
* Tests: Move RunCMake.CPackRPM case into RunCMake.CPack_RPM testDomen Vrankar2015-06-151-0/+1
| | | | | | Move PARTIALLY_RELOCATABLE_WARNING test to the new common CPack test script structure to have all tests in one place as well as additional benefit of having some more checks done during test execution.
* Tests: Add RunCMake tests for CPack{Deb,RPM}Domen Vrankar2015-06-151-0/+7
Add script structure for easier addition of new CPack related tests.