Enable tests and small ARM tweaks.
The most of the tests are functional now. The only exception is the one test failing on armv7. Not sure about the PPC though.
This commit is contained in:
parent
54ae414367
commit
95c97f6ea7
19
ruby.spec
19
ruby.spec
@ -484,14 +484,17 @@ sed -i '8 a\
|
|||||||
s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
|
s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# TODO: Investigate the test failures.
|
DISABLE_TESTS=""
|
||||||
# OpenSSL 1.0.1 is breaking the drb test suite.
|
|
||||||
# https://bugs.ruby-lang.org/issues/6221
|
%ifarch armv7l armv7hl armv7hnl
|
||||||
# TestTimeTZ failures - Resolved by r35377.
|
# test_call_double(DL::TestDL) fails on ARM HardFP
|
||||||
# https://bugs.ruby-lang.org/issues/6318
|
# http://bugs.ruby-lang.org/issues/6592
|
||||||
# TestWEBrickHTTPRequest and WEBrick::TestFileHandler fail
|
DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS"
|
||||||
# https://bugs.ruby-lang.org/issues/6319
|
%endif
|
||||||
make check TESTS="-v -x test_drbssl.rb -x test_time_tz.rb -x test_httprequest.rb -x test_filehandler.rb"
|
|
||||||
|
%ifnarch ppc ppc64
|
||||||
|
make check TESTS="-v $DISABLE_TESTS"
|
||||||
|
%endif
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user