| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the user has the setgid bit is set on the parent directory of
the build directory, the setgid bit will be propagated throughout the
build tree. Most tests do not care about permissions as long as they
can read and write the files the need. The CPack tests, however, validate
that permissions match an expected set, and fail with the setgid bit set.
Explicitly set permissions on directories created in the CPackTestHelpers
to clear the setgid bit.
Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
|
|
|
|
| |
Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
|
|
|
|
|
| |
This allows CPack generator tests to be split into smaller tests of
the format "<generator>.<test>".
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Some tests can have the same output for a certain
subtest no matter which packaging generator is used.
|
|
|
|
|
| |
Added std out/std err expected regex file name
overloads for packaging type.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Move per test prerequirements into the
belonging 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.
|
|
|
|
|
|
|
|
| |
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
|
|/ |
|
|
|
|
|
|
| |
New CPack/Deb tests and changes to old tests
as package file names and inter component dependency
detection was changed.
|
|
|
|
|
|
| |
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.
|
|
Add script structure for easier addition of new CPack related tests.
|