diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2011-03-28 15:11:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-03-31 17:33:10 (GMT) |
commit | 2973c1fbebcbaff944ff2d75e5a44437bf9725c7 (patch) | |
tree | 5da5072ce3961e4ae4c0f824bdb929cac0b9d6fd /Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake | |
parent | 64a5e209998f12662a56346f855b1973cbbd0440 (diff) | |
download | CMake-2973c1fbebcbaff944ff2d75e5a44437bf9725c7.zip CMake-2973c1fbebcbaff944ff2d75e5a44437bf9725c7.tar.gz CMake-2973c1fbebcbaff944ff2d75e5a44437bf9725c7.tar.bz2 |
Add component support to DragNDrop generator.
Diffstat (limited to 'Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake')
-rw-r--r-- | Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake index 77a1979..e2d343d 100644 --- a/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake +++ b/Tests/CPackComponentsForAll/RunCPackVerifyResult.cmake @@ -69,6 +69,19 @@ elseif (CPackGen MATCHES "DEB") endif () endif() +if(CPackGen MATCHES "DragNDrop") + set(expected_file_mask "${CPackComponentsForAll_BINARY_DIR}/MyLib-*.dmg") + if (${CPackComponentWay} STREQUAL "default") + set(expected_count 1) + elseif (${CPackComponentWay} STREQUAL "OnePackPerGroup") + set(expected_count 3) + elseif (${CPackComponentWay} STREQUAL "IgnoreGroup") + set(expected_count 4) + elseif (${CPackComponentWay} STREQUAL "AllInOne") + set(expected_count 1) + endif () +endif(CPackGen MATCHES "DragNDrop") + # clean-up previously CPack generated files if(expected_file_mask) file(GLOB expected_file "${expected_file_mask}") |