Skip to content
Merged
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: 5 additions & 4 deletions barretenberg/cpp/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,16 +245,17 @@ 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.
if [[ "$native_preset" == *debug* ]] && [[ "$test" =~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
continue
fi
local prefix=$hash
# A little extra resource for these tests.
# IPARecursiveTests fails with 2 threads.
if [[ "$test" =~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
prefix="$prefix:CPUS=4:MEM=8g"
fi
# These tests routinely take 400-600s in debug builds; bump from the 600s default.
if [[ "$test" =~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]]; then
prefix="$prefix:TIMEOUT=900s"
fi
echo -e "$prefix barretenberg/cpp/scripts/run_test.sh $bin_name $test"
done || (echo "Failed to list tests in $bin" && exit 1)
done
Expand Down
Loading