diff options
author | David Ostrovsky <david@ostrovsky.org> | 2013-03-30 22:10:48 +0100 |
---|---|---|
committer | David Ostrovsky <David.Ostrovsky@gmx.de> | 2013-04-09 05:52:23 +0000 |
commit | 0e68bac85293e2d60fa6db3e46de8b74ab5d502b (patch) | |
tree | 17b4edeb6bfbce3724de003a87718d6b8f895642 /solenv/gbuild/TargetLocations.mk | |
parent | d64b5cc1c3d232ba42479fe0a3c186ecabd25144 (diff) |
set up python unit test infrastructure
Extract boostraping code from convwatch.py to unotest.py. Use python builtin
unittest module as unit test framework. Specify the unit test modules in make
file. Another option would be to use discover mode of unittest module.
Add __pycache__ to global .gitignore to keep the source directory clean.
Another option would be to deliver the unit tests to workdir prior to test
execution.
Currently only system python3 is supported.
Change-Id: I2692817673f786e950e1176a17c7675f989755b6
Reviewed-on: https://gerrit.libreoffice.org/3214
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Diffstat (limited to 'solenv/gbuild/TargetLocations.mk')
-rw-r--r-- | solenv/gbuild/TargetLocations.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk index 7f50cf6a7574..3ea8951178ce 100644 --- a/solenv/gbuild/TargetLocations.mk +++ b/solenv/gbuild/TargetLocations.mk @@ -148,6 +148,7 @@ gb_JavaClassSet_get_target = $(WORKDIR)/JavaClassSet/$(1)/done gb_JunitTest_get_classsetname = JunitTest/$(1) gb_JunitTest_get_target = $(WORKDIR)/JunitTest/$(1)/done gb_JunitTest_get_userdir = $(WORKDIR)/JunitTest/$(1)/user +gb_PythonTest_get_target = $(WORKDIR)/PythonTest/$(1)/done gb_LinkTarget_get_external_headers_target = $(WORKDIR)/ExternalHeaders/$(1) gb_LinkTarget_get_headers_target = $(WORKDIR)/Headers/$(1) gb_LinkTarget_get_target = $(WORKDIR)/LinkTarget/$(1) @@ -290,6 +291,7 @@ $(eval $(call gb_Helper_make_clean_targets,\ Pagein \ PrecompiledHeader \ Pyuno \ + PythonTest \ Rdb \ ResTarget \ ScpMergeTarget \ |