| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
Prerequirements should be searched for in
generator prerequirements function and only
checked for presence in configure file in
per test prerequirements function.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
Fakeroot executable is already searched
for in DEB packager tests prerequirements
so the test prerequirement just has to
check that it is present in config file
and not search for it once more.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Move per test prerequirements into the
belonging test.
|
|
|
|
|
| |
Merge test generator specifics into
test itself.
|
|
|
|
|
| |
Merge per generator ExpectedFiles scripts
into one per test and move it to test dir.
|
| |
|
| |
|
|
|
|
|
|
| |
For greater transparency tests
are moved to a subfolder with
each test having its own 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.
|
| |
|
|
|
|
|
|
| |
Source packages testing for RunCMake CPack
tests did not provide generator type to
the project built from source package.
|
|
|
|
|
| |
Invalid config file path was passed to
per test specific prerequirements script.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Format a `message(FATAL_ERROR)` call with markup to make the generated
message more readable so that the difference between the actual and
expected results is easier to see.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
The `main.cpp` that this test generates needs a newline so that
compilers do not warn about a missing newline. Otherwise the warning
causes RunCMake infrastructure to detect unexpected output.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
The changes in commit d9cec8ad (CPack/RPM: Generate source rpm (SRPM)
packages on demand, 2016-09-19) logically conflict with the
infrastructure updates in commit 4682b42b (Tests: Add subtest support to
RunCMake/CPack infrastructure, 2016-09-13). Integrate the two changes
so they work together.
|
|\
| |
| |
| |
| | |
d9cec8ad CPack/RPM: Generate source rpm (SRPM) packages on demand
|
| |
| |
| |
| | |
Closes: #15839
|
| |
| |
| |
| | |
Add variable CPACK_PACKAGE_CHECKSUM to activate it.
|
|/ |
|
|
|
|
|
|
|
| |
Add a `CPACK_DEBIAN_ARCHIVE_TYPE` option that can be used to select an
archive type that supports long file names.
Closes: #14332
|
| |
|
| |
|
|
|
|
|
|
|
| |
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'
|
|
|
|
|
|
|
| |
The test regex variable name was invalid and did not test preinst
script.
Reported-by: Patrick <mail6543210@yahoo.com.tw>
|
|
|
|
| |
Suggested-by: Patrick <mail6543210@yahoo.com.tw>
|
|
|
|
|
|
|
|
| |
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
|
|\ \
| | |
| | |
| | |
| | | |
44ee2d71 CPack/RPM different package names
|
| |/
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
| |
New CPack/Deb tests and changes to old tests
as package file names and inter component dependency
detection was changed.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This avoids compiler warnings on stderr while building them.
|