diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-22 14:59:52 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-05-22 15:34:14 (GMT) |
commit | 165e56950aef21468940384fe1b51cc7a676ef7d (patch) | |
tree | cdbbedc90fc5de3695c526d9ca32094026298269 /Tests/CPackWiXGenerator | |
parent | 28f2ad941906248d2de8c9c32ddd3a0e57b13fc5 (diff) | |
download | CMake-165e56950aef21468940384fe1b51cc7a676ef7d.zip CMake-165e56950aef21468940384fe1b51cc7a676ef7d.tar.gz CMake-165e56950aef21468940384fe1b51cc7a676ef7d.tar.bz2 |
Tests/CPackWiXGenerator: support suppressing verification
Verification requires access to an active Windows session which may not
be the case in all testing environments.
Diffstat (limited to 'Tests/CPackWiXGenerator')
-rw-r--r-- | Tests/CPackWiXGenerator/RunCPackVerifyResult.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/CPackWiXGenerator/RunCPackVerifyResult.cmake b/Tests/CPackWiXGenerator/RunCPackVerifyResult.cmake index ca9fd90..c549e61 100644 --- a/Tests/CPackWiXGenerator/RunCPackVerifyResult.cmake +++ b/Tests/CPackWiXGenerator/RunCPackVerifyResult.cmake @@ -74,4 +74,6 @@ endforeach() # error SMOK1076 : ICE61: This product should remove only older # versions of itself. The Maximum version is not less # than the current product. (1.0.0 1.0.0) -run_wix_command(smoke -nologo -wx -sw1076 "${installer_file}") +if (NOT no_verify) + run_wix_command(smoke -nologo -wx -sw1076 "${installer_file}") +endif () |