From c4f16ffcf93effcea2dd19565aaa774e9436ccd5 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 11 Sep 2006 00:43:48 +0000 Subject: r18349: don't do validation when using valgrind. It's way too slow (can be hours for a single test) (This used to be commit febaf6af4cafed7bc57276186a35099959b2ce62) --- source4/script/tests/selftest.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/script/tests/selftest.sh') diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 7ba5b5c897..8c4c41e197 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -16,6 +16,13 @@ if [ -z "$TORTURE_MAXTIME" ]; then TORTURE_MAXTIME=1200 fi +# disable rpc validation when using valgrind - its way too slow +if [ -z "$VALGRIND" ]; then + VALIDATE="validate"; +else + VALIDATE=""; +fi + OLD_PWD=`pwd` PREFIX=$ARG1 PREFIX=`echo $PREFIX | sed s+//+/+` -- cgit