dev-ruby/timecop: skip failing tests on x86

Bug: https://bugs.gentoo.org/940908
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1553
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-07-28 03:13:06 +03:00
committed by Sam James
parent d2d682fece
commit f8970d384d

View File

@@ -32,6 +32,12 @@ all_ruby_prepare() {
-i Rakefile test/test_helper.rb test/timecop_with_active_support_test.rb || die
sed -i -e '/rubygems/ a\gem "test-unit"' \
-e '/minitest\/rg/ s:^:#:' -e '/pry/ s:^:#:' test/test_helper.rb || die
if use x86; then
# The values are the same but the objects are distinct, bug #940908
sed -e '/is not frozen"/ s:^:#:' \
-i test/timecop_with_process_clock_test.rb || die
fi
}
each_ruby_prepare() {