HVM icon indicating copy to clipboard operation
HVM copied to clipboard

failing tests

Open steinerkelvin opened this issue 3 years ago • 1 comments

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

steinerkelvin avatar Aug 11 '22 14:08 steinerkelvin

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

developedby avatar Oct 02 '22 20:10 developedby

Will be re-adding tests soon.

VictorTaelin avatar Nov 23 '22 15:11 VictorTaelin