mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2026-01-02 19:27:27 +00:00
Still run the test, just don't stop when it is failing
This commit is contained in:
parent
df02d472ee
commit
1b53da8964
15
debian/qualify-clang.sh
vendored
15
debian/qualify-clang.sh
vendored
@ -176,12 +176,17 @@ if ! ./a.out 2>&1 | grep -q -E "(Test unit written|PreferSmall)"; then
|
||||
echo "fuzzer"
|
||||
exit 42
|
||||
fi
|
||||
|
||||
|
||||
# fails on 32 bit, seems a real BUG in the package, using 64bit static libs?
|
||||
#clang-$VERSION -fsanitize=fuzzer test_fuzzer.cc
|
||||
#if ! ./a.out 2>&1 | grep -q -E "(Test unit written|PreferSmall)"; then
|
||||
# echo "fuzzer"
|
||||
# exit 42
|
||||
#fi
|
||||
LANG=C clang-$VERSION -fsanitize=fuzzer test_fuzzer.cc &> foo.log
|
||||
if ! grep "No such file or directory" foo.log; then
|
||||
# This isn't failing on 64, so, look at the results
|
||||
if ! ./a.out 2>&1 | grep -q -E "(Test unit written|PreferSmall)"; then
|
||||
echo "fuzzer"
|
||||
exit 42
|
||||
fi
|
||||
fi
|
||||
|
||||
echo 'int main() {
|
||||
int a=0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user