Hi,

On Sat, 24 Aug 2024 15:49:31 +0200 Paul Gevers <elb...@debian.org> wrote:
The version in unstable fails its own autopkgtest on the 32 bit architectures armel, armhf and i386.
I propose we skip the 2 tests for now on these archs.

Paul

diff --git a/test/timecop_with_process_clock_test.rb b/test/timecop_with_process_clock_test.rb
index c131f5b..c115201 100644
--- a/test/timecop_with_process_clock_test.rb
+++ b/test/timecop_with_process_clock_test.rb
@@ -23,6 +23,7 @@ class TestTimecopWithProcessClock < Minitest::Test
     end
 
     def test_process_clock_gettime_monotonic
+      skip('Fails on 32 bit archs') if ['arm-linux-gnueabihf', 'arm-linux-gnueabi', 'i386-linux-gnu'].include? RUBY_PLATFORM
       Timecop.freeze do
         assert_same(*consecutive_monotonic, "CLOCK_MONOTONIC is not frozen")
       end
@@ -116,6 +117,7 @@ class TestTimecopWithProcessClock < Minitest::Test
     end
 
     def test_process_clock_gettime_realtime
+      skip('Fails on 32 bit archs') if ['arm-linux-gnueabihf', 'arm-linux-gnueabi', 'i386-linux-gnu'].include? RUBY_PLATFORM
       Timecop.freeze do
         assert_same(*consecutive_realtime, "CLOCK_REALTIME is not frozen")
       end

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to