fix the tests

This commit is contained in:
Sylvestre Ledru 2020-03-02 22:28:16 +01:00
parent a915359406
commit f79ace5602

View File

@ -222,12 +222,12 @@ echo "Testing linking clang-cpp ..."
clang-$VERSION -lclang-cpp$VERSION -v foo.cpp -o o > /dev/null || true
if ! ldd o 2>&1|grep -q libclang-cpp; then
echo "Didn't link against libclang-cpp$VERSION"
# exit 42
exit 42
fi
#./o > /dev/null
./o > /dev/null
# Check that the symlink is correct
ls -al /usr/lib/llvm-$VERSION/lib/libclang-cpp.so.1 > /dev/null
ls -al /usr/lib/llvm-$VERSION/lib/libclang-cpp.so.$VERSION > /dev/null
echo "Testing code coverage ..."