summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cpack-rpm-adding-dist-to-release-tag'Brad King2016-05-164-0/+21
|\ | | | | | | | | | | 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-144-0/+21
| | | | | | | | Tests and release notes
* | Merge topic 'cpack-rpm-different-package-names'Brad King2016-05-164-0/+24
|\ \ | | | | | | | | | | | | 44ee2d71 CPack/RPM different package names
| * | CPack/RPM different package namesDomen Vrankar2016-05-154-0/+24
| |/ | | | | | | | | | | | | | | 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-1318-16/+198
|/ | | | | | 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-137-12/+94
| | | | | | | | | | 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-079-0/+80
|
* Tests: Fix RunCMake.CPack_* tests to use proper CMake generatorDomen Vrankar2015-10-012-45/+3
| | | | | | Use the run_cmake() function to generate the test build tree with the proper CMake generator and also to verify that it succeeds. Drop our PreTestError helper as it is no longer needed.
* Tests: Avoid OS X 10.5 limitation warning in RunCMake.CPack* testsBrad King2015-10-011-0/+2
| | | | | | | | | | | | | The DEPENDENCIES test case uses install(TARGETS) and so generates a warning: CMake Warning in CMakeLists.txt: WARNING: Target "test_prog" has runtime paths which cannot be changed during install. To change runtime paths, OS X version 10.6 or newer is required. Therefore, runtime paths will not be changed when installing. CMAKE_BUILD_WITH_INSTALL_RPATH may be used to work around this limitation. Set CMAKE_BUILD_WITH_INSTALL_RPATH to avoid the warning since we do not need to run the binaries from the build tree anyway.
* Tests: Add trailing newlines to generated sources in RunCMake.CPack_* testsBrad King2015-10-011-3/+3
| | | | This avoids compiler warnings on stderr while building them.
* CPack: allow packaging of empty directoriesDomen Vrankar2015-09-2817-1/+63
|
* Revert topic 'cpack-package-empty-dirs'Brad King2015-09-2511-36/+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: remove accidental changesDomen Vrankar2015-09-231-1/+1
| | | | | Remove changes accidentally included in commit b58de9fe (CPack: allow packaging of empty directories, 2015-09-22).
* CPack: allow packaging of empty directoriesDomen Vrankar2015-09-2212-1/+37
|
* CPack/DEB: test preserve extra config file permissionsDomen Vrankar2015-09-173-5/+42
|
* Tests: Make RunCMake.CPack error messages more readableRaffi Enficiaud2015-09-173-6/+7
|
* CPack/Deb: enable per component setting of dependenciesDomen Vrankar2015-09-092-12/+37
|
* Tests/RunCMake/CPack: Add dependencies testsDomen Vrankar2015-08-068-0/+143
| | | | | Add tests for RPM and DEB package test for currently supported dependency features (requires, provides, conflicts, ...).
* Tests/RunCMake/CPack: Bump verify result cmake versionDomen Vrankar2015-08-061-1/+1
| | | | | Bumped version to current cmake version so that we always use latest policies.
* Tests/RunCMake/CPack/DEB: Add getPackageInfo helper functionDomen Vrankar2015-08-061-0/+10
| | | | | getPackageInfo helper function returns package info for provided deb package file
* Tests/RunCMake/CPack: Enable CXX language in testsDomen Vrankar2015-08-061-1/+1
| | | | | Enable CXX language for CPack tests so that they may compile binaries if needed.
* CPack/DEB: component version of PACKAGE_CONTROL_EXTRADomen Vrankar2015-07-154-0/+41
| | | | | 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/RunCMake/CPack: found files should be preservedDomen Vrankar2015-07-151-5/+5
| | | | | | Package file names that are found during validation should be preserved in FOUND_FILE_${NO} variables that can be later used in custom VerifyResult scripts.
* Tests: Move RunCMake.CPackRPM case into RunCMake.CPack_RPM testDomen Vrankar2015-06-154-0/+13
| | | | | | 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-1515-0/+351
Add script structure for easier addition of new CPack related tests.