You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
done<<(find "$build_dir" -type f -name '*_tests[[]*[]]_tests.cmake')| sort
140
-
)>>"$tmp"
129
+
while IFS= read -r -d '' ctest_file;do
130
+
ctest_files+=("$ctest_file")
131
+
done<<(find "$build_dir" -type f -name '*_tests[[]*[]]_tests.cmake' -print0 | sort -z)
132
+
133
+
if [ "${#ctest_files[@]}"-gt 0 ];then
134
+
awk '
135
+
FNR == 1 {
136
+
bin = FILENAME
137
+
sub(/^.*\//, "", bin)
138
+
sub(/\[.*/, "", bin)
139
+
}
140
+
/--gtest_filter=/ {
141
+
line = $0
142
+
while (match(line, /--gtest_filter=/)) {
143
+
line = substr(line, RSTART + RLENGTH)
144
+
test = line
145
+
sub(/\].*/, "", test)
146
+
sub(/[" )].*/, "", test)
147
+
if (test != "" && test !~ /DISABLED_/) {
148
+
print bin "\t" test
149
+
}
150
+
line = substr(line, length(test) + 1)
151
+
}
152
+
}
153
+
'"${ctest_files[@]}">"$tmp"
154
+
else
155
+
:>"$tmp"
156
+
fi
141
157
142
158
if [ -s"$tmp" ];then
143
159
mv "$tmp""$inventory"
@@ -314,61 +330,67 @@ function build {
314
330
fi
315
331
}
316
332
333
+
functionemit_native_test_cmd {
334
+
local bin_name=$1
335
+
local test=$2
336
+
337
+
# Skip heavy recursion tests in debug builds — they take 400-600s+ and the same
338
+
# code paths are already exercised (with assertions) by faster tests in the suite.
339
+
# Keep WithoutPredicate/1.GenerateVKFromConstraints (241s) so that the debug-only
340
+
# native_verification_debug path in honk_recursion_constraint.cpp is still exercised.
341
+
# None of the other skipped suites exercise unique debug-only (#ifndef NDEBUG) code paths.
342
+
if [[ "$native_preset"==*debug* ]] && [[ "$test"=~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest|AvmRecursionInnerCircuitTests|AvmRecursionConstraintTest|AvmRecursiveTests\.TwoLayer|PaddingVariants/AvmRecursiveTestsParameterized\.TwoLayer|BoomerangTwoLayerAvmRecursiveVerifierTests|ECCVMRecursiveTests|GoblinRecursiveVerifierTests|GoblinAvmRecursiveVerifierTests|BoomerangGoblinRecursiveVerifierTests|BoomerangGoblinAvmRecursiveVerifierTests) ]];then
343
+
if [[ "$test"!="HonkRecursionConstraintTestWithoutPredicate/1.GenerateVKFromConstraints" ]];then
344
+
return
345
+
fi
346
+
fi
347
+
348
+
local prefix=$hash
349
+
# A little extra resource for these tests.
350
+
# IPARecursiveTests fails with 2 threads.
351
+
if [[ "$test"=~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]];then
# Skip heavy recursion tests in debug builds — they take 400-600s+ and the same
354
-
# code paths are already exercised (with assertions) by faster tests in the suite.
355
-
# Keep WithoutPredicate/1.GenerateVKFromConstraints (241s) so that the debug-only
356
-
# native_verification_debug path in honk_recursion_constraint.cpp is still exercised.
357
-
# None of the other skipped suites exercise unique debug-only (#ifndef NDEBUG) code paths.
358
-
if [[ "$native_preset"==*debug* ]] && [[ "$test"=~ ^(HonkRecursionConstraintTest|ChonkRecursionConstraintTest|AvmRecursionInnerCircuitTests|AvmRecursionConstraintTest|AvmRecursiveTests\.TwoLayer|PaddingVariants/AvmRecursiveTestsParameterized\.TwoLayer|BoomerangTwoLayerAvmRecursiveVerifierTests|ECCVMRecursiveTests|GoblinRecursiveVerifierTests|GoblinAvmRecursiveVerifierTests|BoomerangGoblinRecursiveVerifierTests|BoomerangGoblinAvmRecursiveVerifierTests) ]];then
359
-
if [[ "$test"!="HonkRecursionConstraintTestWithoutPredicate/1.GenerateVKFromConstraints" ]];then
360
-
continue
361
-
fi
362
-
fi
363
-
local prefix=$hash
364
-
# A little extra resource for these tests.
365
-
# IPARecursiveTests fails with 2 threads.
366
-
if [[ "$test"=~ ^(AcirAvmRecursionConstraint|ChonkKernelCapacity|AvmRecursiveTests|IPARecursiveTests|HonkRecursionConstraintTest|ChonkRecursionConstraintTest) ]];then
0 commit comments