Valgrind should only print errors in tests

This commit is contained in:
= 2020-05-16 16:12:12 +01:00
parent c97cbe850c
commit c59789120c
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ fail() {
check() { check() {
local output local output
if (($VALGRIND == 1)); then if (($VALGRIND == 1)); then
local output=$(valgrind --leak-check=full --track-origins=yes ./pebblisp "$2") local output=$(valgrind -q --leak-check=full --track-origins=yes ./pebblisp "$2")
else else
local output=$(./pebblisp "$2") local output=$(./pebblisp "$2")
fi fi