]> git.pld-linux.org Git - packages/python3.git/commitdiff
Set WITHIN_PYTHON_RPM_BUILD=1 for tests
authorJacek Konieczny <jajcus@jajcus.net>
Thu, 3 Dec 2015 18:06:51 +0000 (19:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Thu, 3 Dec 2015 18:06:51 +0000 (19:06 +0100)
python3.spec

index a2d4eb95d5731558d1958d1beb268dc9ad1bb07c..70b9ef6e4f71f75fe5750ebddcf81aade3bfc932 100644 (file)
@@ -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
This page took 0.153267 seconds and 4 git commands to generate.