add a way to easily turn off the %check section
This commit is contained in:
parent
5fe31d812a
commit
a5cef79f49
@ -64,6 +64,9 @@
|
|||||||
# Change from yes to no to turn this off
|
# Change from yes to no to turn this off
|
||||||
%global with_computed_gotos yes
|
%global with_computed_gotos yes
|
||||||
|
|
||||||
|
# Turn this to 0 to turn off the "check" phase:
|
||||||
|
%global run_selftest_suite 1
|
||||||
|
|
||||||
# We want to byte-compile the .py files within the packages using the new
|
# We want to byte-compile the .py files within the packages using the new
|
||||||
# python3 binary.
|
# python3 binary.
|
||||||
#
|
#
|
||||||
@ -952,12 +955,16 @@ CheckPython() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%if 0%{run_selftest_suite}
|
||||||
|
|
||||||
# Check each of the configurations:
|
# Check each of the configurations:
|
||||||
%if 0%{?with_debug_build}
|
%if 0%{?with_debug_build}
|
||||||
CheckPython debug
|
CheckPython debug
|
||||||
%endif # with_debug_build
|
%endif # with_debug_build
|
||||||
CheckPython optimized
|
CheckPython optimized
|
||||||
|
|
||||||
|
%endif # run_selftest_suite
|
||||||
|
|
||||||
|
|
||||||
# ======================================================
|
# ======================================================
|
||||||
# Cleaning up
|
# Cleaning up
|
||||||
|
Loading…
Reference in New Issue
Block a user