-
- Downloads
CPack/Deb: CPACK_DEBIAN_PACKAGE_VERSION regex testing exception
CPACK_DEBIAN_PACKAGE_VERSION variable could in the past also contain release and epoch version so regex test should expect the entire versioning if both CPACK_DEBIAN_PACKAGE_RELEASE and CPACK_DEBIAN_PACKAGE_EPOCH are not set. Also since the checks were not performed in the past the regex test of CPACK_DEBIAN_PACKAGE_VERSION variable content should only report author warnings instead of errors in case of the test fail. Fixes: #17339
Showing
- Modules/CPackDeb.cmake 33 additions, 6 deletionsModules/CPackDeb.cmake
- Tests/RunCMake/CPack/RunCMakeTest.cmake 1 addition, 0 deletionsTests/RunCMake/CPack/RunCMakeTest.cmake
- Tests/RunCMake/CPack/tests/DEB_PACKAGE_VERSION_BACK_COMPATIBILITY/ExpectedFiles.cmake 2 additions, 0 deletions...EB_PACKAGE_VERSION_BACK_COMPATIBILITY/ExpectedFiles.cmake
- Tests/RunCMake/CPack/tests/DEB_PACKAGE_VERSION_BACK_COMPATIBILITY/VerifyResult.cmake 11 additions, 0 deletions...DEB_PACKAGE_VERSION_BACK_COMPATIBILITY/VerifyResult.cmake
- Tests/RunCMake/CPack/tests/DEB_PACKAGE_VERSION_BACK_COMPATIBILITY/test.cmake 7 additions, 0 deletions...k/tests/DEB_PACKAGE_VERSION_BACK_COMPATIBILITY/test.cmake
Please register or sign in to comment