Actions
action #93853
closedos-autoinst t/01-test_needle.t fails in OBS on aarch64 in float number comparison
Description
Observation¶
[ 247s] 3: # Failed test 'we find the xterm though'
[ 247s] 3: # at ./01-test_needle.t line 232.
[ 247s] 3: # Structures begin differing at:
[ 247s] 3: # $got->{similarity} = '0.902571599940021'
[ 247s] 3: # $expected->{similarity} = '0.905881691408007'
[ 249s] 3: # Looks like you failed 1 test of 84.
[ 249s] 3: [21:18:27] ./01-test_needle.t .......................
[ 249s] 3: Dubious, test returned 1 (wstat 256, 0x100)
[ 249s] 3: Failed 1/84 subtests
likely since https://github.com/os-autoinst/os-autoinst/pull/1633
Suggestions¶
- Read https://github.com/os-autoinst/os-autoinst/pull/1633
- Fix https://github.com/os-autoinst/os-autoinst/pull/1633/files#diff-d44bd2bb07b082b11eda36faf3119ed23f0959cded4a18b8ea78736e81c53d35R239 because having a float number to be compared verbatim is a bad idea
Actions