Also install clang-7-dbgsym libclang1-7-dbgsym in autopkgtest to verify that debug symbols are present

This commit is contained in:
Sylvestre Ledru 2018-12-22 21:23:44 +01:00
parent 26ea04bc08
commit c77a496667
3 changed files with 9 additions and 2 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-7 (1:7.0.1-3) unstable; urgency=medium
* Also install clang-7-dbgsym libclang1-7-dbgsym in autopkgtest
to verify that debug symbols are present
-- Sylvestre Ledru <sylvestre@debian.org> Sat, 22 Dec 2018 21:23:36 +0100
llvm-toolchain-7 (1:7.0.1-2) unstable; urgency=medium
* Enable -DENABLE_LINKER_BUILD_ID:BOOL=ON as, unlike gcc, isn't enabled

View File

@ -6,7 +6,7 @@ TARGET_VERSION_2=7_0
ORIG_VERSION_3=60
TARGET_VERSION_3=70
LIST=`ls debian/control debian/orig-tar.sh debian/rules debian/patches/clang-analyzer-force-version.diff debian/patches/clang-format-version.diff debian/patches/python-clangpath.diff debian/patches/scan-build-clang-path.diff debian/patches/lldb-libname.diff debian/patches/fix-scan-view-path.diff debian/patches/lldb-addversion-suffix-to-llvm-server-exec.patch debian/patches/clang-tidy-run-bin.diff debian/patches/clang-apply-replacements.diff debian/patches/fix-scan-view-path.diff debian/qualify-clang.sh debian/README`
LIST=`ls debian/control debian/orig-tar.sh debian/rules debian/patches/clang-analyzer-force-version.diff debian/patches/clang-format-version.diff debian/patches/python-clangpath.diff debian/patches/scan-build-clang-path.diff debian/patches/lldb-libname.diff debian/patches/fix-scan-view-path.diff debian/patches/lldb-addversion-suffix-to-llvm-server-exec.patch debian/patches/clang-tidy-run-bin.diff debian/patches/clang-apply-replacements.diff debian/patches/fix-scan-view-path.diff debian/qualify-clang.sh debian/README debian/tests/control`
for F in $LIST; do
sed -i -e "s|$ORIG_VERSION_3|$TARGET_VERSION_3|g" $F
sed -i -e "s|$ORIG_VERSION_2|$TARGET_VERSION_2|g" $F

View File

@ -1,3 +1,3 @@
Test-Command: bash -v ./debian/qualify-clang.sh
Depends: @, cmake, g++, file
Depends: @, cmake, g++, file, clang-7-dbgsym, libclang1-7-dbgsym
Restrictions: allow-stderr