pull out test input/exemplar path formation helpers to base; fix torture crash

This commit is contained in:
Ryan Fleury committed 2026-06-21 20:13:44 -07:00
1 parent bc324a9041
commit c890b806d5
5 files changed
+54 -58

No files matched your search

+2 -2
View File
@@ -1382,14 +1382,14 @@ t_entry_point(CmdLine *cmdline)
if (slow_count > 1) {
U64 label_max = 0;
U64 layer_max = 0;
for EachElement(i, slowest) {
for EachIndex(i, slow_count) {
Slowest s = slowest[i];
label_max = Max(g_sorted_test_infos[s.target_idx]->label.size, label_max);
layer_max = Max(g_sorted_test_infos[s.target_idx]->layer.size, layer_max);
}
fprintf(stderr, " \nSlow Tests\n");
for EachElement(i, slowest) {
for EachIndex(i, slow_count) {
Slowest s = slowest[i];
if (s.target_idx >= test_infos_count) { break; }