summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/main.mk3
-rw-r--r--source4/scripting/config.mk5
2 files changed, 5 insertions, 3 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 6ae230488d..b1d001a2ae 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -304,9 +304,6 @@ gdbtest-all: all
unused_macros:
./script/find_unused_macros.pl `find . -name "*.[ch]"` | sort
-swigtest: swig
- ./script/tests/test_swig.sh
-
###############################################################################
# File types
###############################################################################
diff --git a/source4/scripting/config.mk b/source4/scripting/config.mk
index bbca5034eb..33c774cc4c 100644
--- a/source4/scripting/config.mk
+++ b/source4/scripting/config.mk
@@ -49,3 +49,8 @@ scripting/swig/_dcerpc.so: scripting/swig/dcerpc_wrap.o $(LIBRARY_swig_dcerpc_DE
swig_clean:
-rm -f scripting/swig/_tdb.so scripting/swig/tdb.pyc scripting/swig/tdb.py scripting/swig/tdb_wrap.c scripting/swig/tdb_wrap.o
+
+# Swig testing
+
+swigtest: swig
+ ./script/tests/test_swig.sh