summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/INSTALL_SCRIPTS/ExpectedFiles.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CPackRPM: add scriplets tags only if scripts existDomen Vrankar2021-04-011-1/+1
| | | | | | | | | | 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-301-1/+6
| | | | | | | | Enabling CPACK_RPM_DEBUGINFO_SINGLE_PACKAGE while using rpm install or erase scripts resulted in resulted missing scripts for non default components. Fixes: #21974
* 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 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 ExpectedFiles scriptDomen Vrankar2016-11-271-0/+7
Merge per generator ExpectedFiles scripts into one per test and move it to test dir.