summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/DEB
Commit message (Collapse)AuthorAgeFilesLines
* CPack/Deb: Add ability to split out debug symbols into .ddeb packageAndrew Fuller2018-09-211-1/+1
|
* CPack/Deb: Support SOURCE_DATE_EPOCH when packaging filesAndrew Fuller2018-07-251-1/+1
|
* CPack test: correctly handle CPACK_PACKAGING_INSTALL_PREFIXDomen Vrankar2017-11-191-1/+14
| | | | | | | Every CPack generator sets default CPACK_PACKAGING_INSTALL_PREFIX variable value differently so test framework should support that correctly - previous version expected RPM/Deb /usr default and removed it for Archive packagers as the default there is /.
* CPack RPM and DEB: improved package version handlingDomen Vrankar2017-09-211-1/+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
* Tests: CPack/DEB test change prerequirements checkDomen Vrankar2016-11-272-2/+7
| | | | | | | Prerequirements should be searched for in generator prerequirements function and only checked for presence in configure file in per test prerequirements function.
* Tests: CPack test set packaging typeDomen Vrankar2016-11-272-0/+3
| | | | | | | | | 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: CPack test use same content listDomen Vrankar2016-11-271-0/+21
| | | | | | | | Content list for a certain test should be the same between different generators so whenever possible use a single expected files list per file for all generators.
* Tests: CPack test unify expected file namingDomen Vrankar2016-11-271-0/+20
| | | | | | | | | | | Each generator generates its own file format with different extensions but they all create those file names by a certain pattern and all of them require the same pieces for that pattern to work. Now we can only provide pieces once and and each generator will use those pieces to generate an expected file name.
* Tests: CPack test move and merge VerifyResultDomen Vrankar2016-11-276-108/+0
| | | | | Merge VerifyResult of different generators pertest and move the file to its test dir.
* Tests: CPack test move per test prerequirementsDomen Vrankar2016-11-273-21/+0
| | | | | Move per test prerequirements into the belonging test.
* Tests: CPack test merge generator specificsDomen Vrankar2016-11-277-46/+0
| | | | | Merge test generator specifics into test itself.
* Tests: CPack test move ExpectedFiles scriptDomen Vrankar2016-11-2710-73/+0
| | | | | Merge per generator ExpectedFiles scripts into one per test and move it to test dir.
* Tests: CPack test should use default package nameDomen Vrankar2016-11-276-8/+8
| | | | | | | | Package names are irrelevant for most CPack tests so tests now set default package name that is created from test name and used if it is not explicitly provided in the test.
* CPack/DEB: Add option to select archive typeDomen Vrankar2016-09-055-0/+48
| | | | | | | Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an archive type that supports long file names. Closes: #14332
* Use string(APPEND) in TestsDaniel Pfeifer2016-07-271-5/+5
| | | | | | | Automate with: find Tests -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
* CPack/Deb: Fix test to actually test the preinst scriptDomen Vrankar2016-06-201-2/+2
| | | | | | | The test regex variable name was invalid and did not test preinst script. Reported-by: Patrick <mail6543210@yahoo.com.tw>
* CPack/Deb: Fix tests for SELinux-enabled systemsDomen Vrankar2016-06-203-10/+13
| | | | Suggested-by: Patrick <mail6543210@yahoo.com.tw>
* CPack/Deb possibility to change package nameDomen Vrankar2016-05-238-5/+26
| | | | | | | | 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.
* CPack/Deb test changes due to breaking changesDomen Vrankar2016-05-1313-16/+125
| | | | | | New CPack/Deb tests and changes to old tests as package file names and inter component dependency detection was changed.
* CPack: Added tests for package name and group controll fieldsDomen Vrankar2015-12-073-0/+33
|
* CPack: allow packaging of empty directoriesDomen Vrankar2015-09-284-0/+13
|
* Revert topic 'cpack-package-empty-dirs'Brad King2015-09-254-13/+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-224-0/+13
|
* CPack/DEB: test preserve extra config file permissionsDomen Vrankar2015-09-172-0/+19
|
* Tests: Make RunCMake.CPack error messages more readableRaffi Enficiaud2015-09-171-1/+1
|
* CPack/Deb: enable per component setting of dependenciesDomen Vrankar2015-09-092-12/+37
|
* Tests/RunCMake/CPack: Add dependencies testsDomen Vrankar2015-08-063-0/+44
| | | | | Add tests for RPM and DEB package test for currently supported dependency features (requires, provides, conflicts, ...).
* Tests/RunCMake/CPack/DEB: Add getPackageInfo helper functionDomen Vrankar2015-08-061-0/+10
| | | | | getPackageInfo helper function returns package info for provided deb package file
* CPack/DEB: component version of PACKAGE_CONTROL_EXTRADomen Vrankar2015-07-152-0/+20
| | | | | Component version of CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA variable.
* Tests/RunCMake/CPack/DEB: add verifyDebControlDomen Vrankar2015-07-151-0/+18
| | | | | Add verifyDebControl helper function for checking of package control files such as preinstall scripts.
* Tests: Add RunCMake tests for CPack{Deb,RPM}Domen Vrankar2015-06-154-0/+24
Add script structure for easier addition of new CPack related tests.