From 4952030c2e5dba694ef4e7071a296fee07a19f1f Mon Sep 17 00:00:00 2001 From: Nils Gladitz Date: Mon, 1 Sep 2014 09:09:00 +0200 Subject: [PATCH] CPackWiX: Attach wix.log on test failure. --- Tests/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index f51a93428..c22170fa7 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -863,6 +863,10 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release "-DCPackWiXGenerator_BINARY_DIR:PATH=${CMake_BINARY_DIR}/Tests/CPackWiXGenerator" "-Dconfig=\${CTEST_CONFIGURATION_TYPE}" -P "${CMake_SOURCE_DIR}/Tests/CPackWiXGenerator/RunCPackVerifyResult.cmake") + + set_property(TEST CPackWiXGenerator PROPERTY + ATTACHED_FILES_ON_FAIL + "${CMake_BINARY_DIR}/Tests/CPackWiXGenerator/_CPack_Packages/win32/WIX/wix.log") endif() endif()