- disable readline/reline tests as they require system ruby

- rust edition 2021 is supported since 1.56.0. Change buildrequires
  accordingly

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby/ruby3.2?expand=0&rev=11
This commit is contained in:
Marcus Rückert 2022-12-06 12:44:29 +00:00 committed by Git OBS Bridge
parent e8d04b1739
commit 533a476f56
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Dec 6 12:44:02 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- disable readline/reline tests as they require system ruby
-------------------------------------------------------------------
Tue Dec 6 12:43:30 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- rust edition 2021 is supported since 1.56.0. Change buildrequires
accordingly
-------------------------------------------------------------------
Tue Dec 6 10:48:43 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -123,8 +123,8 @@ BuildRequires: procps
BuildRequires: timezone
%endif
%if %{with yjit}
BuildRequires: cargo
BuildRequires: rust
BuildRequires: cargo >= 1.56.0
BuildRequires: rust >= 1.56.0
%endif
%if %{with system_ruby}
BuildRequires: ruby
@ -429,7 +429,7 @@ DISABLE_TESTS=""
export OPENSSL_ENABLE_MD5_VERIFY=1
export LD_LIBRARY_PATH="$PWD"
export PATH=%{buildroot}%{_bindir}:$PATH
make test test-tool test-all V=1 TESTOPTS="%{?_smp_mflags} -q --tty=no $DISABLE_TESTS" TESTS="-x test_rinda -x test_address_resolve -x test_tcp -x test_gem_installer "
make test test-tool test-all V=1 TESTOPTS="%{?_smp_mflags} -q --tty=no $DISABLE_TESTS" TESTS="-x test_rinda -x test_address_resolve -x test_tcp -x test_gem_installer -x test_readline -x test_reline"
%else