Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions barretenberg/cpp/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,15 @@ function test_cmds_native {
awk '/^[a-zA-Z]/ {suite=$1} /^[ ]/ {print suite$1}' | \
grep -v 'DISABLED_' | \
while read -r test; do
# Skip heavy recursion tests in debug builds — they take 400-600s+ and the same
# code paths are already exercised (with assertions) by faster tests in the suite.
# Keep WithoutPredicate/1.GenerateVKFromConstraints so that the debug-only
# native_verification_debug path in honk_recursion_constraint.cpp is still exercised.
if [[ "$native_preset" == *debug* ]] && [[ "$test" =~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest|AvmRecursionInnerCircuitTests|AvmRecursionConstraintTest|AvmRecursiveTests\.TwoLayer|PaddingVariants/AvmRecursiveTestsParameterized\.TwoLayer|BoomerangTwoLayerAvmRecursiveVerifierTests|ECCVMRecursiveTests|GoblinRecursiveVerifierTests|GoblinAvmRecursiveVerifierTests|BoomerangGoblinRecursiveVerifierTests|BoomerangGoblinAvmRecursiveVerifierTests) ]]; then
if [[ "$test" != "HonkRecursionConstraintTestWithoutPredicate/1.GenerateVKFromConstraints" ]]; then
continue
fi
fi
local prefix=$hash
# A little extra resource for these tests.
# IPARecursiveTests fails with 2 threads.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,12 @@ template <typename Curve> struct PairingPoints {
}

#ifndef NDEBUG
bb::PairingPoints<typename Curve::NativeCurve> native_pp(P0().get_value(), P1().get_value());
info("Are Pairing Points with tag ", tag_index, " valid? ", native_pp.check() ? "true" : "false");
try {
bb::PairingPoints<typename Curve::NativeCurve> native_pp(P0().get_value(), P1().get_value());
info("Are Pairing Points with tag ", tag_index, " valid? ", native_pp.check() ? "true" : "false");
} catch (const std::exception& e) {
info("Pairing Points with tag ", tag_index, " native check skipped: ", e.what());
}
#endif
}

Expand Down Expand Up @@ -210,8 +214,13 @@ template <typename Curve> struct PairingPoints {
}

#ifndef NDEBUG
bb::PairingPoints<typename Curve::NativeCurve> native_pp(P0().get_value(), P1().get_value());
info("Are aggregated Pairing Points with tag ", tag_index, " valid? ", native_pp.check() ? "true" : "false");
try {
bb::PairingPoints<typename Curve::NativeCurve> native_pp(P0().get_value(), P1().get_value());
info(
"Are aggregated Pairing Points with tag ", tag_index, " valid? ", native_pp.check() ? "true" : "false");
} catch (const std::exception& e) {
info("Aggregated Pairing Points with tag ", tag_index, " native check skipped: ", e.what());
}
#endif
}

Expand Down
Loading