diff options
author | Eric NOULARD <eric.noulard@gmail.com> | 2011-03-03 19:45:43 (GMT) |
---|---|---|
committer | Eric NOULARD <eric.noulard@gmail.com> | 2011-03-03 19:45:43 (GMT) |
commit | e4d4dfc6ef2cfaac34d8097da016f12a07113a3f (patch) | |
tree | b8e234729df246ec3dde6997a04b97f3be944a34 /Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake | |
parent | f72cc88c659d586cc65ac47e7807054345ccad89 (diff) | |
download | CMake-e4d4dfc6ef2cfaac34d8097da016f12a07113a3f.zip CMake-e4d4dfc6ef2cfaac34d8097da016f12a07113a3f.tar.gz CMake-e4d4dfc6ef2cfaac34d8097da016f12a07113a3f.tar.bz2 |
CPackRPM activate CPackRPM test on Linux systems where rpmbuild is found
Diffstat (limited to 'Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake')
-rw-r--r-- | Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake index 45a3b17..2e543f3 100644 --- a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake +++ b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake @@ -50,6 +50,23 @@ if(CPackGen MATCHES "ZIP") if (${CPackComponentWay} STREQUAL "AllGroupsInOne") set(expected_count 1) endif (${CPackComponentWay} STREQUAL "AllGroupsInOne") +elseif (CPackGen MATCHES "RPM") + set(expected_file_mask "${CPackComponentsForAll_BINARY_DIR}/MyLib-*.rpm") + if (${CPackComponentWay} STREQUAL "default") + set(expected_count 1) + endif(${CPackComponentWay} STREQUAL "default") + if (${CPackComponentWay} STREQUAL "OnePackPerGroup") + set(expected_count 2) + endif (${CPackComponentWay} STREQUAL "OnePackPerGroup") + if (${CPackComponentWay} STREQUAL "IgnoreGroup") + set(expected_count 4) + endif (${CPackComponentWay} STREQUAL "IgnoreGroup") + if (${CPackComponentWay} STREQUAL "AllInOne") + set(expected_count 1) + endif (${CPackComponentWay} STREQUAL "AllInOne") + if (${CPackComponentWay} STREQUAL "AllGroupsInOne") + set(expected_count 1) + endif (${CPackComponentWay} STREQUAL "AllGroupsInOne") endif(CPackGen MATCHES "ZIP") # clean-up previously CPack generated files |