%check: Run tests with %{_smp_mflags} instead of -j0
-j0 means: Run tests in parallel, automatic number of workers, according to CPU count %{_smp_mflags} means: -j%{_smp_build_ncpus} where %{_smp_build_ncpus} is the CPU count by default Hence, this makes no difference unless %{_smp_build_ncpus} is manually clamped. In that case, we now respect the wishes of the builder/packager/etc.
This commit is contained in:
parent
6befb8fa5d
commit
6040964164
|
@ -1118,7 +1118,7 @@ CheckPython() {
|
|||
# we don't ship it in the RPM package.
|
||||
|
||||
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
|
||||
-wW --slowest -j0 --timeout=1800 \
|
||||
-wW --slowest %{_smp_mflags} --timeout=1800 \
|
||||
-i test_freeze_simple_script \
|
||||
%if %{with bootstrap}
|
||||
-x test_distutils \
|
||||
|
|
Loading…
Reference in New Issue