Replace the "--verbose" flag with "-wW" when invoking the test suite, so that the tests are run in non-verbose mode by default and failed tests are rerun in verbose mode.

Also add the "--slowest" flag when invoking the test suite to
list the ten slowest tests at the end of the test run.
This commit is contained in:
Charalampos Stratakis 2017-07-20 17:50:38 +02:00
parent a94422417a
commit 5b6a3e0e34

View File

@ -1177,7 +1177,7 @@ CheckPython() {
# aarch64, see upstream bug http://bugs.python.org/issue21131
WITHIN_PYTHON_RPM_BUILD= \
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
--verbose --findleaks \
-wW --slowest --findleaks \
-x test_distutils \
%ifarch ppc64le aarch64
-x test_faulthandler \