summaryrefslogtreecommitdiff
path: root/pyuno/Module_pyuno.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-20 11:53:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-20 12:01:34 +0100
commit4e887567c5b4b06646ab1340376e240d6c5af9cb (patch)
tree79eebd13514deff9d8520bd2b38fd96085be954a /pyuno/Module_pyuno.mk
parent52e99e9e957a228d95d55935acc96175ee494f30 (diff)
A rudimentary framework for additional Python tests not run by default
* see the mail thread starting at <http://lists.freedesktop.org/archives/libreoffice/2014-February/059548.html> "Testing/Working on PyUNO?" for a rationale * run the tests via top-level "make PythonTest_pytests" or "cd pyuno && make -rs PythonTest_pytests" or similar * see the documentation in pyuno/PythonTest_pytests.mk for adding tests to the framework Change-Id: I6a2a9e60b3294cd649f9cccbaffbd3f6bd79ecff
Diffstat (limited to 'pyuno/Module_pyuno.mk')
-rw-r--r--pyuno/Module_pyuno.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/pyuno/Module_pyuno.mk b/pyuno/Module_pyuno.mk
index 28aef7134f05..31c831a2e1d4 100644
--- a/pyuno/Module_pyuno.mk
+++ b/pyuno/Module_pyuno.mk
@@ -60,6 +60,12 @@ endif
endif # SYSTEM_PYTHON
+ifneq (,$(filter PythonTest_pytests,$(MAKECMDGOALS)))
+$(eval $(call gb_Module_add_targets,pyuno, \
+ PythonTest_pytests \
+))
+endif
+
endif # DISABLE_PYTHON
# vim:set noet sw=4 ts=4: