File: skip-on-s390x.patch

package info (click to toggle)
ruby-prof 1.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,092 kB
  • sloc: ruby: 10,664; ansic: 2,946; makefile: 7
file content (18 lines) | stat: -rw-r--r-- 535 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Date: Thu, 8 Aug 2024 22:39:25 -0300
Subject: skip-on-s390x

---
 test/fiber_test.rb | 1 +
 1 file changed, 1 insertion(+)

--- a/test/fiber_test.rb
+++ b/test/fiber_test.rb
@@ -30,6 +30,7 @@ class FiberTest < TestCase
   end
 
   def test_fibers
+    skip "Skip on s390x" if(Gem::Platform.local.cpu == "s390x")
     result = RubyProf::Profile.profile(measure_mode: RubyProf::WALL_TIME) { enumerator_with_fibers }
 
     assert_equal(2, result.threads.size)