summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/STGZ
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2017-05-13 21:19:51 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2017-05-14 21:45:18 (GMT)
commit3eb0f08084173f344851a36876864c58a301d5ea (patch)
tree30ad982193a896d802693de3b2149e183256f28c /Tests/RunCMake/CPack/STGZ
parent0816ebcc079e328394d3f9fff73b2281e7449fda (diff)
downloadCMake-3eb0f08084173f344851a36876864c58a301d5ea.zip
CMake-3eb0f08084173f344851a36876864c58a301d5ea.tar.gz
CMake-3eb0f08084173f344851a36876864c58a301d5ea.tar.bz2
Improved CPack tests error logging
Diffstat (limited to 'Tests/RunCMake/CPack/STGZ')
-rw-r--r--Tests/RunCMake/CPack/STGZ/Helpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CPack/STGZ/Helpers.cmake b/Tests/RunCMake/CPack/STGZ/Helpers.cmake
index 08224d3..68b1eab 100644
--- a/Tests/RunCMake/CPack/STGZ/Helpers.cmake
+++ b/Tests/RunCMake/CPack/STGZ/Helpers.cmake
@@ -35,7 +35,7 @@ function(getPackageContentList FILE RESULT_VAR)
endfunction()
function(toExpectedContentList FILE_NO CONTENT_VAR)
- findExpectedFile("${FILE_NO}" "file_")
+ findExpectedFile("${FILE_NO}" "file_" "glob_expr_")
get_filename_component(prefix_ "${file_}" NAME)
# NAME_WE removes everything after the dot and dot is in version so replace instead