summaryrefslogtreecommitdiff
path: root/testdata/pymod.tdir
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-10-16 19:24:20 +0000
committerCy Schubert <cy@FreeBSD.org>2022-10-16 19:24:20 +0000
commit643f9a0581e8aac7eb790ced1164748939829826 (patch)
tree426d366252d838c8c61b439342ab32eccd181425 /testdata/pymod.tdir
parent0dde6f4f8e604df8c6fbdab8b4aadb5ddf80c76f (diff)
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=//'`