[packages/python3] Set WITHIN_PYTHON_RPM_BUILD=1 for tests

jajcus jajcus at pld-linux.org
Thu Dec 3 19:07:07 CET 2015


commit bb41df11a040e707769eec2e0706c3a8cc1324af
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Thu Dec 3 19:06:51 2015 +0100

    Set WITHIN_PYTHON_RPM_BUILD=1 for tests

 python3.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python3.spec b/python3.spec
index a2d4eb9..70b9ef6 100644
--- a/python3.spec
+++ b/python3.spec
@@ -544,7 +544,7 @@ export LC_ALL
 %if %{with tests}
 binlibdir=`echo build/lib.*`
 # -l and -j don't go together! and -j is brought up by Tools/scripts/run_tests.py
-%{__make} test \
+WITHIN_PYTHON_RPM_BUILD=1 %{__make} test \
 	TESTOPTS="%{test_flags} %{test_list}" \
 	TESTPYTHON="LD_LIBRARY_PATH=`pwd` PYTHONHOME=`pwd` PYTHONPATH=`pwd`/Lib:`pwd`/$binlibdir ./python -tt"
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3.git/commitdiff/bb41df11a040e707769eec2e0706c3a8cc1324af



More information about the pld-cvs-commit mailing list