summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-11-19 19:21:08 +0200
committerTor Lillqvist <tml@collabora.com>2020-11-19 21:14:42 +0100
commita6a2855818585740d8291a669c3552a7c4e77480 (patch)
tree9ec0f9bf6c3bffc13b8a56b78fadbdd64d20fdf2 /external
parent3207977c5b21acd305e01776df6c686abed43f64 (diff)
Add comment on how to run Python's own unit tests
Change-Id: Id62a688d2ddf7493d419a00a9fd0dfc6a6f13f0c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106173 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'external')
-rw-r--r--external/python3/ExternalProject_python3.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/external/python3/ExternalProject_python3.mk b/external/python3/ExternalProject_python3.mk
index ad110bbbc817..0591d2468ec6 100644
--- a/external/python3/ExternalProject_python3.mk
+++ b/external/python3/ExternalProject_python3.mk
@@ -127,6 +127,12 @@ $(call gb_ExternalProject_get_state_target,python3,build) :
endif
+# If you want to run Python's own unit tests, add this to the chain of commands above:
+# && MAKEFLAGS= $(MAKE) \
+# $(if $(filter MACOSX,$(OS)),DESTDIR=$(EXTERNAL_WORKDIR)/python-inst) \
+# $(if $(SYSTEM_ZLIB),,ZLIB_INCDIR=$(WORKDIR)/UnpackedTarball/zlib) \
+# test \
+
ifeq ($(OS),MACOSX)
python3_fw_prefix=$(call gb_UnpackedTarball_get_dir,python3)/python-inst/@__________________________________________________OOO/LibreOfficePython.framework