elichai / random-rs

A trait for random number generation
Apache License 2.0
9 stars 0 forks source link

random-trait tests fail on big-endian #3

Open ignatenkobrain opened 4 years ago

ignatenkobrain commented 4 years ago
running 2 tests
test src/lib.rs - Random (line 59) ... FAILED
test src/lib.rs - GenerateRand (line 28) ... ok
failures:
---- src/lib.rs - Random (line 59) stdout ----
Test executable failed (exit code 101).
stderr:
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `66051`,
 right: `50462976`', src/lib.rs:24:1
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
failures:
    src/lib.rs - Random (line 59)
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
alexanderkjall commented 2 years ago

Can also be seen in the Debian build logs:

https://buildd.debian.org/status/fetch.php?pkg=rust-random-trait&arch=s390x&ver=0.1.1-1&stamp=1644430010&raw=0