summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake
diff options
context:
space:
mode:
authorRolf Eike Beer <eb@emlix.com>2019-07-05 09:50:38 (GMT)
committerRolf Eike Beer <eb@emlix.com>2019-07-05 14:24:58 (GMT)
commit3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f (patch)
tree6e389939fce105242a08cf1dfc5ae215c357e506 /Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake
parent09cf0520794d3716c0931584f908a575cd8b59d0 (diff)
downloadCMake-3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f.zip
CMake-3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f.tar.gz
CMake-3d11c63c9c338c4ed6e5d171f86af9cf6a7fca0f.tar.bz2
CPackComponentsDEB test: simplify if() arguments
Diffstat (limited to 'Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake')
-rw-r--r--Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake b/Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake
index 47956c6..3830ca5 100644
--- a/Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake
+++ b/Tests/CPackComponentsDEB/RunCPackVerifyResult-components-source.cmake
@@ -54,20 +54,20 @@ if(DPKGDEB_EXECUTABLE)
message(STATUS "package='${_f}', source='${dpkg_package_source}'")
- if(NOT ("${dpkg_package_name}" STREQUAL "mylib-applications"))
- if(NOT ("${dpkg_package_source}" STREQUAL "test-source"))
+ if(NOT dpkg_package_name STREQUAL "mylib-applications")
+ if(NOT dpkg_package_source STREQUAL "test-source")
set(dpkgdeb_output_errors_all "${dpkgdeb_output_errors_all}"
"dpkg-deb: ${_f}: Incorrect source for package '${dpkg_package_name}': '${dpkg_package_source}' instead of 'test-source'\n")
endif()
else()
- if(NOT ("${dpkg_package_source}" STREQUAL "test-other-source"))
+ if(NOT dpkg_package_source STREQUAL "test-other-source")
set(dpkgdeb_output_errors_all "${dpkgdeb_output_errors_all}"
"dpkg-deb: ${_f}: Incorrect source for package '${dpkg_package_name}': '${dpkg_package_source}' instead of 'test-other-source'\n")
endif()
endif()
endforeach()
- if(NOT "${dpkgdeb_output_errors_all}" STREQUAL "")
+ if(NOT dpkgdeb_output_errors_all STREQUAL "")
message(FATAL_ERROR "dpkg-deb checks failed:\n${dpkgdeb_output_errors_all}")
endif()
else()