From 3ea9f709a407da9ada04f991a916ea82e8ddefbf Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Sat, 30 Aug 2014 21:39:03 -0700 Subject: [PATCH] Highlight test filenames when running valgrind --- script/util/run_tests.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/util/run_tests.sh b/script/util/run_tests.sh index 85d60997..4ecc4aa0 100644 --- a/script/util/run_tests.sh +++ b/script/util/run_tests.sh @@ -55,7 +55,8 @@ function run_tests { --suppressions=./etc/valgrind.supp \ --dsymutil=yes \ $cmd \ - $args + $args 2>&1 | \ + grep --color -E '\w+_specs?.cc:\d+|$' elif [[ -n $debug ]]; then if which -s gdb; then