mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Sam James
parent
d2d682fece
commit
f8970d384d
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user