mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-03 23:30:14 +00:00
improve the tests
This commit is contained in:
parent
60ab466af0
commit
6bf9ce13ab
8
debian/qualify-clang.sh
vendored
8
debian/qualify-clang.sh
vendored
@ -164,8 +164,12 @@ clang++-$VERSION -std=c++11 foo.cpp
|
||||
|
||||
echo "Testing linking clang-cpp ..."
|
||||
|
||||
clang-$VERSION -lclang-cpp$VERSION -v foo.cpp &> /dev/null
|
||||
exit 0
|
||||
clang-$VERSION -lclang-cpp$VERSION -v foo.cpp -o o &> /dev/null
|
||||
if ! ldd o 2>&1|grep -q libclang-cpp; then
|
||||
echo "Didn't link against libclang-cpp$VERSION"
|
||||
exit 42
|
||||
fi
|
||||
|
||||
echo "Testing code coverage ..."
|
||||
|
||||
echo '#include <stdio.h>
|
||||
|
Loading…
Reference in New Issue
Block a user