File: 0001-context_test-disable-test_interrupt_avoids_object_al.patch

package info (click to toggle)
ruby-liquid 5.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,176 kB
  • sloc: ruby: 10,561; makefile: 6
file content (24 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Antonio Terceiro <terceiro@debian.org>
Date: Mon, 5 Sep 2022 19:13:24 -0300
Subject: context_test: disable test_interrupt_avoids_object_allocations

This test does not work correctly on all Debian architectures (e.g. it
fails on i386)

Forwarded: not-needed
---
 test/integration/context_test.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/integration/context_test.rb b/test/integration/context_test.rb
index 832e3e3..4eeaee4 100644
--- a/test/integration/context_test.rb
+++ b/test/integration/context_test.rb
@@ -635,6 +635,7 @@ class ContextTest < Minitest::Test
   private
 
   def assert_no_object_allocations
+    skip 'does not work on all Debian architectures'
     unless RUBY_ENGINE == 'ruby'
       skip("stackprof needed to count object allocations")
     end