summaryrefslogtreecommitdiffstats
path: root/solenv/gbuild/PythonTest.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-27 10:30:10 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-27 20:42:37 +0300
commit1603854be942078e7f2381fad2efbd992eeb86ee (patch)
tree02153be3af7eab8bf9493b0c364caf6354844262 /solenv/gbuild/PythonTest.mk
parentrelease m_aLengthVector even when m_aBindVector is empty (diff)
downloadcore-1603854be942078e7f2381fad2efbd992eeb86ee.tar.gz
core-1603854be942078e7f2381fad2efbd992eeb86ee.zip
Don't create any (new) Python bytecode files when running a PythonTest
PythonTests are run on a dev-install tree where (when using code signing on OS X) the Python framework has already been signed, so scribbling bytecode cache files into it will invalidate the signature. Change-Id: Ic53043b59c9a59373e2383d8dcca9120457d4ba9
Diffstat (limited to 'solenv/gbuild/PythonTest.mk')
-rw-r--r--solenv/gbuild/PythonTest.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/solenv/gbuild/PythonTest.mk b/solenv/gbuild/PythonTest.mk
index f7678dcb878c..f6a94a065fa7 100644
--- a/solenv/gbuild/PythonTest.mk
+++ b/solenv/gbuild/PythonTest.mk
@@ -45,6 +45,7 @@ $(call gb_PythonTest_get_target,%) :
PYTHONPATH="$(PYPATH)" \
UserInstallation=$(call gb_Helper_make_url,$(dir $(call gb_PythonTest_get_target,$*))user) \
TestUserDir="$(call gb_Helper_make_url,$(dir $(call gb_PythonTest_get_target,$*)))" \
+ PYTHONDONTWRITEBYTECODE=1 \
$(gb_CppunitTest_GDBTRACE) $(gb_CppunitTest_VALGRINDTOOL) $(gb_PythonTest_COMMAND) \
$(MODULES) \
$(if $(gb_CppunitTest__interactive),, \