summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsForAll
Commit message (Collapse)AuthorAgeFilesLines
* CPack/Deb possibility to change package nameDomen Vrankar2016-05-231-0/+3
| | | | | | | | 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-different-package-names'Brad King2016-05-161-1/+1
|\ | | | | | | | | 44ee2d71 CPack/RPM different package names
| * CPack/RPM different package namesDomen Vrankar2016-05-151-1/+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-1/+1
|/ | | | | | New CPack/Deb tests and changes to old tests as package file names and inter component dependency detection was changed.
* CPack/RPM external symlink handlingDomen Vrankar2016-04-012-0/+6
| | | | | | | | Symbolic links that point to external location no longer cause cmake to fail with string out of bounds error but are instead packaged as non relocatable symlinks and print out a warning message.
* cpack rpm setting of defattrDomen Vrankar2016-03-282-0/+38
| | | | | | | | RPM supports setting of default user, group, file and directory permissions that will be applied for files in package unless specified per file/dir with attr setting This is related to bug report 14714
* CPack/RPM support for upper cased component variablesDomen Vrankar2016-02-133-11/+11
| | | | | | | | | | 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.
* Replace http://www.cmake.org URLs with https://cmake.orgBrad King2015-09-251-1/+1
| | | | | | | The latter is now the preferred URL for visiting cmake.org with a browser. Convert using the shell code: git ls-files -z | xargs -0 sed -i 's|http://www\.cmake|https://cmake|g'
* CPackRPM content listing refactorDomen Vrankar2015-04-193-1/+32
| | | | | | | | | Refactoring of content list that removes use of find and sed to make listing algorithm more clear and remove external dependencies. Patch also limits man pages handling to locations listed in brp-compress rpm script by default - fixes bug report #14660.
* CPackRPM: Add basic symlink support (#15209)Domen Vrankar2015-03-313-5/+184
| | | | | | | RPM packages can contain symbolic links to relative paths - including support for multiple relocation paths through generation of post install relocation scripts. Add basic support with limitations described in documentation.
* CPack/RPM ignore install prefix relocation pathDomen Vrankar2015-03-202-2/+6
| | | | | | | Patch adds possibility to remove CPACK_PACKAGING_INSTALL_PREFIX from the list of relocation paths when crating a relocatable rpm.
* CPack/RPM improved component override testDomen Vrankar2015-03-172-12/+12
| | | | | | | | | | Component specific attributes test passed even when attribute was able to leak to the next component as library package is the last that is generated. This patch fixes the test as header package is generated in the middle so leakage causes the test to fail.
* CPack/RPM architecture test fixupDomen Vrankar2015-03-151-6/+25
| | | | | | | | | | | Fixed architecture test that was missing architecture in regular expressions - bug was detected on older rpm versions where the check failed. Extended architecture test that takes into account older versions of rpm. This patch is related to 15442.
* CPack/RPM relocation paths test fixupDomen Vrankar2015-03-151-4/+6
| | | | | | | Patch fixes bug in test reported with id 15442 - older versions of rpm print out package info a bit differently so we should ignore white spaces
* CPackRPM: Consolidate CPackComponentsForAll test case coverageDomen Vrankar2015-02-271-25/+5
| | | | | | | | Use test infrastructure added by commit 1cbb1562 (Fix handling of relocation prefix parent directories, 2015-02-26) to cover the same use cases from tests added by commit 5857ca5e (CPackRPM: Drop explicit handling of '@' symbols that breaks them, 2015-01-07) and drop the latter.
* Merge branch 'cpack_rpm_mulit_prefix_fixup' into ↵Domen Vrankar2015-02-272-3/+38
|\ | | | | | | | | | | | | cpack_rpm_mulit_prefix_fixup-for-master Resolve conflict in Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake by combining the changes from both sides.
| * CPackRPM: Fix handling of relocation prefix parent directoriesDomen Vrankar2015-02-272-3/+37
| | | | | | | | | | | | | | In commit 3ec02547 (CPackRPM: Allow multiple path relocation prefixes for one package, 2015-01-21) a regression was introduced that causes parent directories of relocation paths to be incorrectly included in the rpm. Fix this and make the test case more strict to cover it.
* | CPackRPM: Drop explicit handling of '@' symbols that breaks them (#14782)Domen Vrankar2015-02-242-2/+26
| | | | | | | | | | | | | | | | | | | | The change in commit v2.8.12~218^2 (CPackRPM protect '@' character in filename processed in the spec file, 2013-07-05) was not necessary after commit v2.8.12~439^2 (Add support for componentized USER spec file, 2013-04-01). The latter replaced ${VAR} references in the spec file template string with \@VAR\@ references, thus protecting '@' symbols automatically. This caused CPackRPM to break paths with @ symbols. Revert the change to fix the behavior, and add a test case.
* | Tests: CpackRPM test component architectureJoshua A Clayton2015-02-232-0/+14
|/ | | | Test creating rpms of type "noarch", native, and "armv7hf"
* CPackRPM: Allow multiple path relocation prefixes for one packageDomen Vrankar2015-01-293-9/+43
|
* CPackRPM: Add component based packaging description and summaryDomen Vrankar2014-10-212-1/+67
| | | | | | | | | Enable per-component description and summary setting through CPACK_RPM_<component>_PACKAGE_DESCRIPTION, CPACK_COMPONENT_<compName>_DESCRIPTION and CPACK_RPM_<component>_PACKAGE_SUMMARY variables. Extend the CPackComponentsForAll test to cover these.
* cpack: For DragNDrop generator, add sysroot option when calling Rez.Clinton Stimpson2013-11-012-1/+5
| | | | | | | Also adding overwrite option (-ov) in case multiple temporary dmg files are being created. Fixes bug #14536.
* Tests: Use the right path to CPack value for running CPack testsDavid Cole2012-11-291-6/+5
| | | | | | | | | These tests were not running properly on Visual Studio or Xcode dashboards before this commit because of the "Debug" or "Release" sub-directory. The scripts already have CMAKE_CPACK_COMMAND since the correct CMake executable is used to run the scripts, so just use that, rather than passing down an incorrect path to the CPack executable.
* Remove CMake-language block-end command argumentsKitware Robot2012-08-135-24/+24
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* CPackRPM support component specific variables for spec filesEric NOULARD2011-10-302-0/+2
| | | | | This is a modified version of a user patch Inspired-By: informant
* Merge topic 'drag-n-drop-components'Brad King2011-04-052-1/+18
|\ | | | | | | | | | | dd04608 Fix KWStyle warnings 2973c1f Add component support to DragNDrop generator.
| * Add component support to DragNDrop generator.Clinton Stimpson2011-03-312-1/+18
| |
* | Fix #11964 Handle lib64 library on LinuxEric NOULARD2011-03-312-172/+3
|/ | | | | | | | | | | | | | | | The AMD64 ABI document http://www.x86-64.org/documentation/abi.pdf does specify that 64bits binary libraries should end up in <prefix>/lib64 and 32bits ones in <prefix>/lib. All but debian based distros do so, and some like OpenSUSE even enforce the rule when packaging with RPM and refuse to build the RPM if this is not the case. After some discussion (see the bug notes) we cannot do that behind the scene and the current fix supposes that the user shall use the CMAKE_INSTALL_LIBDIR variables content in its INSTALL rules if he wants to put the lib in the right place. CMAKE_INSTALL_LIBDIR shall have the appropriate value depending on the Linux distribution found and 32/64bitness of the host. The cross-compiling case (even 32bits compile on a 64bits host) is not handled.
* CPack fix #11930 and simplifies component packaging optionsEric NOULARD2011-03-232-43/+20
|
* Merge topic 'CPackRPM-TestWithMoreTraces'Brad King2011-03-153-5/+180
|\ | | | | | | | | | | | | | | | | ade04de Remove debbuging typo a201028 CPack try to please SUSE 64 bits and install lib in lib64 and not lib. 7ebbcf1 CPackRPM non matching ENDIF 0e07b42 CPackRPM even more trace in debug mode or in case of failure 564b731 CPackRPM add more trace output in order to help failing diagnostics
| * Remove debbuging typoEric NOULARD2011-03-141-3/+3
| |
| * CPack try to please SUSE 64 bits and install lib in lib64 and not lib.Eric NOULARD2011-03-132-1/+173
| |
| * CPackRPM add more trace output in order to help failing diagnosticsEric NOULARD2011-03-101-4/+7
| |
* | CPackDeb add Component Support to DEB generator fix #0011655M. Konrad2011-03-114-0/+16
|/ | | | | Contribution by Martin Konrad Signed-off-by: Eric NOULARD <eric.noulard@gmail.com>
* Merge topic 'CPackRPM-enableCPackTests'Brad King2011-03-081-0/+17
|\ | | | | | | | | | | dc9965f CPackRPM do not run test if build dir contains space e4d4dfc CPackRPM activate CPackRPM test on Linux systems where rpmbuild is found
| * CPackRPM activate CPackRPM test on Linux systems where rpmbuild is foundEric NOULARD2011-03-031-0/+17
| |
* | CPackArchive package all components specified in CPACK_COMPONENTS_ALLEric NOULARD2011-03-031-1/+1
|/ | | | | When asking for group packaging the components not belonging to any group should be packaged separately.
* CPack remove previously CPack generated files (if any) before running CPackEric NOULARD2011-02-231-11/+20
|
* CPack Tests the different ways of packaging componentsEric NOULARD2011-01-307-13/+90
|
* Change cpack run and verify script to work with multi-config generators.Bill Hoffman2010-12-141-3/+10
| | | | | Use the location of the running cmake to find cpack, and use the CMAKE_CONFIG_TYPE environtment variable as a type for cpack.
* Precise the project config type when invoking cpackEric NOULARD2010-12-141-1/+1
|
* Arrange output in a better wayEric NOULARD2010-12-141-9/+5
|
* CPackTest spit out more output in case of failureEric NOULARD2010-12-141-3/+16
|
* CPack Default component test for ZIP should be OKEric NOULARD2010-12-142-5/+16
|
* CPack new tests for component installEric NOULARD2010-12-146-0/+187