From f73bc0eea3a860fbf810c2b644a455f94549cc3c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Tue, 21 Apr 2020 13:53:19 +0200 Subject: [PATCH] Silent more stuff --- debian/qualify-clang.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/qualify-clang.sh b/debian/qualify-clang.sh index 3e44f590..ef310fbc 100755 --- a/debian/qualify-clang.sh +++ b/debian/qualify-clang.sh @@ -100,7 +100,7 @@ if ! grep -q "namespace mozilla::dom" ../foo.cpp; then cat foo.log exit 1 fi -cd - +cd - &> /dev/null rm -rf cmaketest echo "Testing clangd-$VERSION ..." @@ -262,7 +262,7 @@ if ! grep -q '"insertText": "fonction_avec_args(${1:int a}, ${2:float b})",' foo cat foo.log exit 1 fi -cd - +cd - &> /dev/null rm -rf cmaketest @@ -447,7 +447,7 @@ clang++-$VERSION -std=c++11 foo.cpp echo "Testing linking clang-cpp ..." -clang-$VERSION -lclang-cpp$VERSION -v foo.cpp -o o > /dev/null || true +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 @@ -691,7 +691,7 @@ clang-$VERSION -fprofile-instr-generate -fcoverage-mapping fuzz_me.cc Standalone rm -rf CORPUS mkdir -p CORPUS echo -n A > CORPUS/A -./a.out CORPUS/* +./a.out CORPUS/* &> /dev/null if ! ./a.out CORPUS/* 2>&1 | grep -q "running 1 inputs"; then echo "Coverage fuzzing failed" exit 1 @@ -702,7 +702,7 @@ if ! grep -q "return DataSize >= 3" foo.log; then echo "llvm-cov didn't show the expected output in fuzzing" exit 1 fi -echo -n FUZA > CORPUS/FUZA && ./a.out CORPUS/* +echo -n FUZA > CORPUS/FUZA && ./a.out CORPUS/* &> /dev/null llvm-profdata-$VERSION merge -sparse *.profraw -o default.profdata llvm-cov-$VERSION show a.out -instr-profile=default.profdata -name=FuzzMe &> foo.log if ! grep -q "Data\[3\] == 'Z';" foo.log; then