#876294 ruby-rblineprof: FTBFS on hurd-i386 and kfreebsd-i386: test_real fails

#876294#5
Date:
2017-09-20 15:04:17 UTC
From:
To:
Builds of ruby-rblineprof for the non-release architectures hurd-i386
and kfreebsd-i386 (but for whatever reason not any other architectures,
even i386 or kfreebsd-amd64) have been failing:

  LineProfTest:
    test_cpu:					.: (0.010000)
    test_method:									.: (1.000000)
    test_objects:													.: (0.000000)
    test_real:																	F
  ===============================================================================
  Failure:
    <1000> -/+ <600> was expected to include
    <10000>.

    Relation:
    <<1000>-<600>[400.0] <= <1000>+<600>[1600.0] < <10000>>
  test_real(LineProfTest)
  /<<PKGBUILDDIR>>/test/test_lineprof.rb:12:in `test_real'
        9:     end
       10:
       11:     line = profile[__FILE__][__LINE__-3]
    => 12:     assert_in_delta 1000, line[0], 600
       13:     assert_equal 1, line[2]
       14:   end
       15:
  ===============================================================================

(Above output from hurd-i386; kfreebsd-i386 is similar, but line[0] is
1996 there and the timing details of course vary.)

Could you please take a look?

Thanks!