From 26aa8648b614842d2974d95932f7ce3b7bd31053 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 11 Sep 2009 01:02:52 +0200 Subject: tests: add support for running tinyproxy under valgrind. When you want to run tinyproxy under valgrind, set the environment variable VALGRIND to some useful valgrind command line. Michael --- tests/scripts/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh index 00ff32c..e3d51d4 100755 --- a/tests/scripts/run_tests.sh +++ b/tests/scripts/run_tests.sh @@ -94,7 +94,7 @@ EOF start_tinyproxy() { echo -n "starting tinyproxy..." - $TINYPROXY_BIN -c $TINYPROXY_CONF_FILE 2> $TINYPROXY_STDERR_LOG + $VALGRIND $TINYPROXY_BIN -c $TINYPROXY_CONF_FILE 2> $TINYPROXY_STDERR_LOG echo " done" } -- cgit v1.2.3