Valgrind should only print errors in tests
This commit is contained in:
parent
c97cbe850c
commit
c59789120c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue