Skip to content

Commit

Permalink
Only run test when halo2 is active (#2044)
Browse files Browse the repository at this point in the history
This test expects a panic, but when halo2 is off, verification is a
noop, so it doesn't panic, so the test fails. I run into this locally
and it's confusing me every time.

Only run the test when halo2 is on.
  • Loading branch information
Schaeff authored Nov 5, 2024
1 parent a262b36 commit 0614f95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/tests/asm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ fn block_to_block_with_bus_monolithic() {
test_halo2_with_backend_variant(pipeline.clone(), BackendVariant::Monolithic);
}

#[cfg(feature = "halo2")]
#[test]
#[should_panic = "called `Result::unwrap()` on an `Err` value: [\"Circuit was not satisfied\"]"]
fn block_to_block_with_bus_composite() {
Expand Down

0 comments on commit 0614f95

Please sign in to comment.