summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bindings/python/tests/Makefile.am11
1 files changed, 11 insertions, 0 deletions
diff --git a/bindings/python/tests/Makefile.am b/bindings/python/tests/Makefile.am
new file mode 100644
index 0000000..d730889
--- /dev/null
+++ b/bindings/python/tests/Makefile.am
@@ -0,0 +1,11 @@
+EXTRA_DIST = resources
+
+dist-hook:
+ rm -rf `find $(distdir)/resources -name CVS`
+
+if HAVE_PYTHON
+test:
+ LD_LIBRARY_PATH=$(top_builddir)/src/.libs \
+ PYTHONPATH=$(top_builddir)/bindings/python:$(top_builddir)/bindings/python/.libs \
+ $(PYTHON) tests.py
+endif