summaryrefslogtreecommitdiff
path: root/testdata/pymod.tdir
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/pymod.tdir')
-rw-r--r--testdata/pymod.tdir/pymod.post7
-rw-r--r--testdata/pymod.tdir/pymod.pre3
-rw-r--r--testdata/pymod.tdir/pymod.test6
3 files changed, 1 insertions, 15 deletions
diff --git a/testdata/pymod.tdir/pymod.post b/testdata/pymod.tdir/pymod.post
index 368d285edab2..5449ad47438b 100644
--- a/testdata/pymod.tdir/pymod.post
+++ b/testdata/pymod.tdir/pymod.post
@@ -8,13 +8,6 @@
PRE="../.."
. ../common.sh
-# if no python; exit
-if grep "define WITH_PYTHONMODULE 1" $PRE/config.h; then
- echo "have python module"
-else
- echo "no python module"
- exit 0
-fi
kill_pid $FWD_PID
kill_pid $UNBOUND_PID
diff --git a/testdata/pymod.tdir/pymod.pre b/testdata/pymod.tdir/pymod.pre
index 9029a8742337..f845d6f979f2 100644
--- a/testdata/pymod.tdir/pymod.pre
+++ b/testdata/pymod.tdir/pymod.pre
@@ -10,8 +10,7 @@ PRE="../.."
if grep "define WITH_PYTHONMODULE 1" $PRE/config.h; then
echo "have python module"
else
- echo "no python module"
- exit 0
+ skip_test "no python module"
fi
# get module python local
cp $PRE/pythonmod/unboundmodule.py .
diff --git a/testdata/pymod.tdir/pymod.test b/testdata/pymod.tdir/pymod.test
index 43bf6e65f87f..5ea87282b6f7 100644
--- a/testdata/pymod.tdir/pymod.test
+++ b/testdata/pymod.tdir/pymod.test
@@ -5,12 +5,6 @@
[ -f .tpkg.var.test ] && source .tpkg.var.test
PRE="../.."
-if grep "define WITH_PYTHONMODULE 1" $PRE/config.h; then
- echo "have python module"
-else
- echo "no python module"
- exit 0
-fi
if test "`uname 2>&1`" = "Darwin"; then
ldnsdir=`grep ldnsdir= ../../Makefile | sed -e 's/ldnsdir=//'`