From 4d1f4a660c8ce9226746f485757d7885eaaf8d61 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 27 Oct 2015 12:11:18 -0700 Subject: 2288 Make it easy to skip distracting valgrind errors when debugging more obvious errors in early layers. Just throw a 'test' at the end of build_and_test_until commands to not run valgrind (and make it a regular test run). --- build_and_test_until | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'build_and_test_until') diff --git a/build_and_test_until b/build_and_test_until index e001ed5e..1c454ad1 100755 --- a/build_and_test_until +++ b/build_and_test_until @@ -6,6 +6,6 @@ set -e set -v make tangle/tangle make enumerate/enumerate -./tangle/tangle $(./enumerate/enumerate --until $* |grep -v '.mu$') |grep -v "^\s*//:" > mu.cc -cat /dev/null $(./enumerate/enumerate --until $* |grep '.mu$') > core.mu -CXX=${CXX:-clang++} CFLAGS=${CFLAGS:-"-O3 -fsanitize=undefined"} make valgrind +./tangle/tangle $(./enumerate/enumerate --until $1 |grep -v '.mu$') |grep -v "^\s*//:" > mu.cc +cat /dev/null $(./enumerate/enumerate --until $1 |grep '.mu$') > core.mu +CXX=${CXX:-clang++} CFLAGS=${CFLAGS:-"-O3 -fsanitize=undefined"} make ${2:-valgrind} -- cgit 1.4.1-2-gfad0