1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-19 11:18:40 +08:00

Tests: Fix RunCMake.CPack_RPM.DEBUGINFO test case

Since commit c826745f5a (CPack/DEB: Do not crash when asked for debug
symbols when there are none, 2020-10-29, v3.20.0-rc1~461^2) the test
fails because CPackRPM warns about no sources in which to find debug
symbols.  Add expected output for this case.
This commit is contained in:
Brad King
2021-06-10 14:31:35 -04:00
parent 5130ff6878
commit 60380bd77c

View File

@@ -0,0 +1,17 @@
^CMake Warning \(dev\) at [^
]*/Modules/Internal/CPack/CPackRPM.cmake:[0-9]+ \(message\):
CPackRPM:Warning: debuginfo package was requested but will not be generated
as no source files were found! Component: 'appheaders'.
Call Stack \(most recent call first\):
[^
]*/Modules/Internal/CPack/CPackRPM.cmake:[0-9]+ \(cpack_rpm_generate_package\)
This warning is for project developers. Use -Wno-dev to suppress it.
+
CPackRPM: Will use GENERATED spec file: [^
]*/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-appheaders.spec
CPackRPM: Will use GENERATED spec file: [^
]*/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-applications.spec
CPackRPM: Will use GENERATED spec file: [^
]*/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-headers.spec
CPackRPM: Will use GENERATED spec file: [^
]*/Tests/RunCMake/RPM.DEBUGINFO/CPack/DEBUGINFO-build/_CPack_Packages/Linux/RPM/SPECS/Debuginfo-libs.spec$