summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS
Commit message (Collapse)AuthorAgeFilesLines
* CPack: re-use paths of tools discovered by CMakeFindBinUtilsMatteo Martelli2022-09-061-1/+1
| | | | | | | | `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.
* CPackRPM: add scriplets tags only if scripts existDomen Vrankar2021-04-015-69/+85
| | | | | | | | | | Scriplet tags should not be added to generated spec files if scripts weren't provided as those tags are otherwise present in generated rpm file even if the script wasn't provided thereby generating unneeded dependency on shell. Fixes: #21345
* CPackRPM: handle scripts in debuginfo single package modeDomen Vrankar2021-03-304-1/+24
| | | | | | | | Enabling CPACK_RPM_DEBUGINFO_SINGLE_PACKAGE while using rpm install or erase scripts resulted in resulted missing scripts for non default components. Fixes: #21974
* CPackRPM: Add PRE_/POST_TRANS scriptsSarang Joshi2020-02-242-2/+18
| | | | | | Add variables for PRE_TRANS and POST_TRANS scripts. Fixes: #18917
* CPack test: correctly handle CPACK_PACKAGING_INSTALL_PREFIXDomen Vrankar2017-11-191-2/+2
| | | | | | | 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 /.
* Tests: CPack test set packaging typeDomen Vrankar2016-11-271-2/+0
| | | | | | | | | 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.
* Tests: CPack test use same content listDomen Vrankar2016-11-271-4/+2
| | | | | | | | 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.
* Tests: CPack test unify expected file namingDomen Vrankar2016-11-271-2/+2
| | | | | | | | | | | 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.
* Tests: CPack test move and merge VerifyResultDomen Vrankar2016-11-271-0/+29
| | | | | Merge VerifyResult of different generators pertest and move the file to its test dir.
* Tests: CPack test merge generator specificsDomen Vrankar2016-11-271-0/+22
| | | | | Merge test generator specifics into test itself.
* Tests: CPack test move ExpectedFiles scriptDomen Vrankar2016-11-271-0/+7
| | | | | Merge per generator ExpectedFiles scripts into one per test and move it to test dir.
* Tests: CPack move tests to separate dirDomen Vrankar2016-11-271-0/+24
For greater transparency tests are moved to a subfolder with each test having its own dir.