diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2014-09-01 07:09:00 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2014-09-02 06:53:34 (GMT) |
commit | 4952030c2e5dba694ef4e7071a296fee07a19f1f (patch) | |
tree | e60566b761fdbf6af984728bb995e39ece3fd007 /Tests | |
parent | 75abb6da979b4abfaf5e00b32c81239116fa2406 (diff) | |
download | CMake-4952030c2e5dba694ef4e7071a296fee07a19f1f.zip CMake-4952030c2e5dba694ef4e7071a296fee07a19f1f.tar.gz CMake-4952030c2e5dba694ef4e7071a296fee07a19f1f.tar.bz2 |
CPackWiX: Attach wix.log on test failure.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index f51a934..c22170f 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() |