summaryrefslogtreecommitdiff
path: root/source4/script/tests/selftest.sh
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-11 00:43:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:14 -0500
commitc4f16ffcf93effcea2dd19565aaa774e9436ccd5 (patch)
tree88dbff9bbc43f6cda56568f6f9eb2bfea1ce9361 /source4/script/tests/selftest.sh
parent2c6a880321fb9af670c332e8b78c5a33cc08ba99 (diff)
downloadsamba-c4f16ffcf93effcea2dd19565aaa774e9436ccd5.tar.gz
samba-c4f16ffcf93effcea2dd19565aaa774e9436ccd5.tar.bz2
samba-c4f16ffcf93effcea2dd19565aaa774e9436ccd5.zip
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)
Diffstat (limited to 'source4/script/tests/selftest.sh')
-rwxr-xr-xsource4/script/tests/selftest.sh7
1 files changed, 7 insertions, 0 deletions
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+//+/+`