diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-12-23 22:26:45 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2017-01-10 07:40:16 (GMT) |
commit | adbf72280d1eb823402c4cc7f2c27ec0ef16062a (patch) | |
tree | 5921ab2ea5c294311d4ec90837edb061862a7f8e /Tests/RunCMake/CPack/README.txt | |
parent | aff368bb8456694e2550e2f69451456728ab31eb (diff) | |
download | CMake-adbf72280d1eb823402c4cc7f2c27ec0ef16062a.zip CMake-adbf72280d1eb823402c4cc7f2c27ec0ef16062a.tar.gz CMake-adbf72280d1eb823402c4cc7f2c27ec0ef16062a.tar.bz2 |
CPack test additional std out/err regex file overloads
Added std out/std err expected regex file name
overloads for packaging type.
Diffstat (limited to 'Tests/RunCMake/CPack/README.txt')
-rw-r--r-- | Tests/RunCMake/CPack/README.txt | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Tests/RunCMake/CPack/README.txt b/Tests/RunCMake/CPack/README.txt index f51d254..7c98f69 100644 --- a/Tests/RunCMake/CPack/README.txt +++ b/Tests/RunCMake/CPack/README.txt @@ -155,8 +155,18 @@ VerifyResult.cmake script also automatically prints out standard output and standard error from CPack execution phase that is compared with '<test_name>/<generator_name>-stdout.txt' regular expression and and '<test_name>/<generator_name>-stderr.txt' regular expresson respectively. -NOTE: For subtests generator name can also be suffixed with subtest name and in - such case subtest file is preferred. +NOTE: For subtests generator name can also be suffixed with subtest name and/or + packaging type (MONOLITHIC, COMPONENT, GROUP) and in such cases the + preferences of which file will be used are as follows: + - generator name + packaging type + subtest name + - generator name + packaging type + - generator name + subtest name + - generator name + - default generator + File name format: '<generator_name>-<packaging_type>-<subtest_name>-std<type>.txt' + where <type> can either be 'out' or 'err'. + File name format: '<generator_name>-<packaging_type>-std<type>.txt' + where <type> can either be 'out' or 'err'. File name format: '<generator_name>-<subtest_name>-std<type>.txt' where <type> can either be 'out' or 'err'. NOTE: If none of the comparison files are present then the default generator @@ -223,3 +233,4 @@ To add a new generator we must - if needed add 'default_expected_std<type>.txt' files where <type> is either 'out' or 'err' which will contain default expected output of package generation regular expression. +- add generator to list of other CPack generators in RunCMake/CMakeLists.txt |