summaryrefslogtreecommitdiff
path: root/source4/script/tests/selftest.sh
diff options
context:
space:
mode:
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+//+/+`