| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
`CMakeFindBinUtils.cmake` sets `CMAKE_<TOOL>` variables that in
cross-compilation environments point to the toolchain specific
executables: e.g. `CMAKE_OBJCOPY` might point to
`<path_to_toolchain>/arm-poky-linux-gnueabi-objcopy`.
Pass this information to CPack.
|
|
|
|
|
|
|
|
| |
The RunCMake infrastructure's `*-stdout.txt` expected output files
interpret `\n` as a `\` and `n` rather than a newline. Use a literal
newline instead. Otherwise the cases that were trying to match any
configuration name via `[^\n]*` would fail on `RelWithDebInfo` because
it contains the letter `n`.
|
|
|
|
|
|
|
|
| |
Enabling CPACK_RPM_DEBUGINFO_SINGLE_PACKAGE while
using rpm install or erase scripts resulted in
resulted missing scripts for non default components.
Fixes: #21974
|
|
|
|
|
|
|
|
| |
The DEB and RPM tests are quite large, which can result in CTest
clients timing out on these tests even though they're working properly.
The RPM test in particular causes a lot of timeouts on the CMake
dashboard machines. This change splits these tests into smaller tests
so that they don't time out.
|
| |
|
|
|
|
|
|
|
| |
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 /.
|
|
|
|
|
|
|
|
|
| |
Adds support for epoch version to CPackRPM and
CPackDeb packagers.
Also adds better version checking to CPackDeb
that complies with Debian rules.
Fixes: #17057
|
|
|
|
|
|
|
|
|
| |
Build id links generation was introduced
in rpm 4.13.0.1 so files related to them
should be ignored as they are not relevant
for the tests.
Fixes #16710
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Merge VerifyResult of different generators
pertest and move the file to its test dir.
|
|
|
|
|
| |
Merge test generator specifics into
test itself.
|
|
|
|
|
| |
Merge per generator ExpectedFiles scripts
into one per test and move it to test dir.
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
Generate a single debuginfo package even
if components packaging is enabled.
This makes issue #15668 resolution feature complete.
Closes: #15486
|
|
|
|
|
|
| |
Main component rpm package is generated
without component suffix in filename
and package name.
|
|
|
|
|
|
| |
List of sources must be split into paths parts
so that debuginfo package cleans up after
itself.
|
|
|
|
|
| |
Issue #15668 fix was missing relevant source
files in debuginfo package.
|
|
|
|
| |
Closes: #15839
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| | |
f5089cfc CPack/RPM adding dist to release tag test
f7003a60 CPack/RPM release dist tag support
|
| |
| |
| |
| | |
Tests and release notes
|
|/
|
|
|
|
|
|
| |
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_* 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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Add tests for RPM and DEB package test for currently supported
dependency features (requires, provides, conflicts, ...).
|
|
|
|
|
|
| |
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.
|
|
Add script structure for easier addition of new CPack related tests.
|