Add a new entry to make check. If we have compiled python extensions,
[samba.git] / source3 / Makefile.in
index e4cea50d59288449435db612c49bf70045e96234..1454c65e34b1e5b3cc7cac2bc144028b4cb8aaab 100644 (file)
@@ -1345,7 +1345,10 @@ Makefile: $(srcdir)/Makefile.in config.status
 check: check-programs
        LD_LIBRARY_PATH="`pwd`/bin:$$LD_LIBRARY_PATH" \
        PATH="`pwd`/bin:$$PATH" \
-       python stf/standardcheck.py
+       python stf/standardcheck.py; \
+       if test -n "$(PYTHON)"; then \
+               python stf/pythoncheck.py; \
+       fi
 
 # These are called by the test suite and need to be built before
 # running it.  For the time being we don't build all of BIN_PROGS,