HVM
HVM copied to clipboard
failing tests
Running on M1, da03703. Sometimes tests::test (on lib.rs) get stuck and/or crash my machine.
failures:
---- rulebook::tests::test_rulebook_expected stdout ----
thread 'rulebook::tests::test_rulebook_expected' panicked at 'assertion failed: `(left == right)`
left: `27`,
right: `3`', src/rulebook.rs:594:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- tests::test stdout ----
thread 'tests::test' panicked at 'assertion failed: `(left == right)`
left: `"(+ <arg> 1)"`,
right: `"6765"`', src/lib.rs:42:5
---- api::tests::test stdout ----
thread 'api::tests::test' panicked at 'assertion failed: `(left == right)`
left: `"(+ (+ (+ (+ (+ 610 (+ (+ (+ (+ (+ 34 (+ 13 (+ (Fn (- <arg> 1)) (Fn (- <arg> 2))))) 34) 55) 89) 144)) 610) 987) 1597) 2584)"`,
right: `"6765"`', src/api.rs:67:5
tests::test and api::tests::test sometimes don't reduce properly and either get into an infinite loop or produce some garbage like the ones above (although not always the same).
Something similar also happens, although with lesser frequency, when running the tests for kind.
@felipegchi
Will be re-adding tests soon.