Skip tests on debug kernels
These Rawhide kernels have become so slow that they are no longer able to run libguestfs in Koji.
This commit is contained in:
parent
76f260fe46
commit
dc2fb623ac
@ -272,6 +272,13 @@ make V=1 %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%ifarch %{test_arches}
|
||||
# Only run the tests with non-debug (ie. non-Rawhide) kernels.
|
||||
# XXX This tests for any debug kernel installed.
|
||||
if grep CONFIG_DEBUG_MUTEXES=y /lib/modules/*/config ; then
|
||||
echo "Skipping tests because debug kernel is installed"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Enable debugging.
|
||||
export LIBGUESTFS_DEBUG=1
|
||||
export LIBGUESTFS_TRACE=1
|
||||
|
Loading…
Reference in New Issue
Block a user