diff --git a/strace.spec b/strace.spec index 69056808373af601917cee5812ff0d82395c4efa..8626b243a1eb70248e1847cd81d6a20509ddff66 100644 --- a/strace.spec +++ b/strace.spec @@ -88,6 +88,16 @@ done wait %check +if [ "${width}" != 32 ] || [ "${skip_32bit}" != 1 ]; then + %{buildroot}%{_bindir}/strace -V + %make_build -k check VERBOSE=1 + echo 'BEGIN OF TEST SUITE INFORMATION' + tail -n 99999 -- tests*/test-suite.log tests*/ksysent.gen.log + find tests* -type f -name '*.log' -print0 | + xargs -r0 grep -H '^KERNEL BUG:' -- ||: + echo 'END OF TEST SUITE INFORMATION' +fi + # testcases which read /dev/full will fail because /dev/full is rw--w--w-- and # needsrootforbuild cannot take affect #%{buildroot}%{_bindir}/strace -V