Add binfmt-support to one of the autopkgtest tests Otherwise, fails with "./foo.bc: cannot execute binary file: Exec format error"

This commit is contained in:
Sylvestre Ledru 2020-07-08 10:49:38 +02:00
parent 9e00e634b2
commit df2b5510e4
2 changed files with 12 additions and 8 deletions

18
debian/changelog vendored
View File

@ -1,21 +1,25 @@
llvm-toolchain-10 (1:10.0.1~++20200629113538+77d76b71d7d-1~exp2) unstable; urgency=medium
llvm-toolchain-10 (1:10.0.1~+rc3-2) unstable; urgency=medium
* integration-test-suite-test also needs g++ for a test
* Add binfmt-support to one of the autopkgtest tests
Otherwise, fails with
"./foo.bc: cannot execute binary file: Exec format error"
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 02 Jul 2020 09:10:39 +0200
-- Sylvestre Ledru <sylvestre@debian.org> Wed, 08 Jul 2020 10:49:26 +0200
llvm-toolchain-10 (1:10.0.1~++20200629113538+77d76b71d7d-1~exp1) UNRELEASED; urgency=medium
llvm-toolchain-10 (1:10.0.1~+rc3-1) unstable; urgency=medium
* New snapshot release
* New rc release. Should be the last (this is why I am
uploading to unstable)
* Ship with integration-test-suite-test and run it with autopkgtest
integration-test-suite-test is a project started by Serge Guelton and myself.
integration-test-suite-test is a project started by Serge Guelton
and myself.
The goal is to provide a set of tests to verify that llvm/clang/etc
are working as expected in a distro (Linux, BSD, etc).
But also to bring a set of expectations of what a LLVM toolchain should
looks like when shipping to users.
Serge is taking care of that work for Fedora/Redhat.
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 29 Jun 2020 11:38:51 +0200
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 07 Jul 2020 09:44:59 +0200
llvm-toolchain-10 (1:10.0.1~+rc2-1~exp1) experimental; urgency=medium

View File

@ -1,5 +1,5 @@
Test-Command: bash -v ./debian/qualify-clang.sh
Depends: @, cmake, g++, file, dpkg-dev
Depends: @, cmake, g++, file, dpkg-dev, binfmt-support
# Comment the dbgsym package because of bug #917528
# dbgsym packages not being available in testing
# clang-10-dbgsym, libclang1-10-dbgsym