Enable most of the PPC test suite.

This commit is contained in:
Vít Ondruch 2013-01-21 18:00:52 +01:00
parent eca05efe33
commit e15c1cf2f4

View File

@ -533,10 +533,20 @@ DISABLE_TESTS=""
DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS" DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS"
%endif %endif
%ifnarch ppc ppc64 %ifarch ppc ppc64
make check TESTS="-v $DISABLE_TESTS" # test_ioctl_linux(TestIO) fails with #<Errno::EINVAL: Invalid argument - /dev/urandom>.
# https://bugs.ruby-lang.org/issues/7718
DISABLE_TESTS="-x test_io.rb $DISABLE_TESTS"
%endif %endif
%ifarch ppc
# test_stack_size(TestFiber) fails.
# https://bugs.ruby-lang.org/issues/7719
DISABLE_TESTS="-x test_fiber.rb $DISABLE_TESTS"
%endif
make check TESTS="-v $DISABLE_TESTS"
%post libs -p /sbin/ldconfig %post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig