From 12a3155baf41019a07969cc7863c57a92c6b9136 Mon Sep 17 00:00:00 2001 From: wborgeaud Date: Fri, 20 May 2022 08:34:25 +0200 Subject: [PATCH] Ignore test instead of failing --- evm/src/cpu/cpu_stark.rs | 6 +++--- evm/src/keccak/keccak_stark.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/evm/src/cpu/cpu_stark.rs b/evm/src/cpu/cpu_stark.rs index 33f402f4..00c03ec6 100644 --- a/evm/src/cpu/cpu_stark.rs +++ b/evm/src/cpu/cpu_stark.rs @@ -54,8 +54,8 @@ mod tests { use crate::stark_testing::{test_stark_circuit_constraints, test_stark_low_degree}; #[test] - #[should_panic] // TODO: fix this when constraints are no longer all 0. - fn test_stark_degree() { + #[ignore] // TODO: remove this when constraints are no longer all 0. + fn test_stark_degree() -> Result<()> { const D: usize = 2; type C = PoseidonGoldilocksConfig; type F = >::F; @@ -64,7 +64,7 @@ mod tests { let stark = S { f: Default::default(), }; - test_stark_low_degree(stark).unwrap() + test_stark_low_degree(stark) } #[test] diff --git a/evm/src/keccak/keccak_stark.rs b/evm/src/keccak/keccak_stark.rs index dd12d278..0a8a49f6 100644 --- a/evm/src/keccak/keccak_stark.rs +++ b/evm/src/keccak/keccak_stark.rs @@ -54,8 +54,8 @@ mod tests { use crate::stark_testing::{test_stark_circuit_constraints, test_stark_low_degree}; #[test] - #[should_panic] // TODO: fix this when constraints are no longer all 0. - fn test_stark_degree() { + #[ignore] // TODO: remove this when constraints are no longer all 0. + fn test_stark_degree() -> Result<()> { const D: usize = 2; type C = PoseidonGoldilocksConfig; type F = >::F; @@ -64,7 +64,7 @@ mod tests { let stark = S { f: Default::default(), }; - test_stark_low_degree(stark).unwrap() + test_stark_low_degree(stark) } #[test]