Fix the autopkgtest script (no gcc in the test)

This commit is contained in:
Sylvestre Ledru 2018-09-21 22:48:52 +02:00
parent 1a4c0465ce
commit a9f104b173
2 changed files with 4 additions and 3 deletions

3
debian/changelog vendored
View File

@ -1,8 +1,9 @@
llvm-toolchain-7 (1:7-3) unstable; urgency=medium
* Fix a syntax issue in a scan-build patch
* Fix the autopkgtest script (no gcc in the test)
--
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 21 Sep 2018 22:48:47 +0200
llvm-toolchain-7 (1:7-2) unstable; urgency=medium

View File

@ -45,7 +45,7 @@ void test() {
}
'> foo.c
scan-build-$VERSION gcc -c foo.c &> /dev/null
scan-build-$VERSION gcc -c foo.c &> /dev/null || true
scan-build-$VERSION clang-$VERSION -c foo.c &> /dev/null
echo 'int main() {return 0;}' > foo.c
@ -281,7 +281,7 @@ clang++-$VERSION -std=c++17 -stdlib=libc++ foo.cpp -lc++experimental -lc++fs -o
./o > /dev/null
g++ -nostdinc++ -I/usr/lib/llvm-$VERSION/bin/../include/c++/v1/ -L/usr/lib/llvm-$VERSION/lib/ \
foo.cpp -nodefaultlibs -std=c++17 -lc++ -lc++abi -lm -lc -lgcc_s -lgcc
foo.cpp -nodefaultlibs -std=c++17 -lc++ -lc++abi -lm -lc -lgcc_s -lgcc|| true
./o > /dev/null