diff options
-rw-r--r-- | pyuno/Module_pyuno.mk | 6 | ||||
-rw-r--r-- | pyuno/PythonTest_pytests.mk | 28 |
2 files changed, 34 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: diff --git a/pyuno/PythonTest_pytests.mk b/pyuno/PythonTest_pytests.mk new file mode 100644 index 000000000000..afb4ba52291a --- /dev/null +++ b/pyuno/PythonTest_pytests.mk @@ -0,0 +1,28 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +# Dummy .mk to have a single "make PythonTest_pytests" goal to run all the +# pyuno/PythonTest_pyuno_pytests_*.mk tests (which are not run by default). +# +# To add a new test pyuno/PythonTest_pyuno_pytests_NEW.mk, add +# +# $(call gb_PythonTest_get_target,pyuno_pytests_NEW) \ +# +# to the below list and +# +# PythonTest_pyuno_pytests_NEW \ +# +# to the list in the "ifneq (,$(filter PythonTest_pytests,$(MAKECMDGOALS)))" +# section of pyuno/Module_pyuno.mk. + +$(eval $(call gb_PythonTest_PythonTest,pytests)) + +$(call gb_PythonTest_get_target,pytests) : \ + +# vim: set noet sw=4 ts=4: |