← Commit list

a1db90053b

Daniel Stenberg
Daniel Stenberg
2026-06-12
SUCCESS Duration: 223s

Subject

runtests: exit hard on duplicate test name

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/runtests.pl+1 -1
@@ -1249,7 +1249,7 @@ sub singletest_count {
logmsg sprintf("ERROR: test %d has duplicate test name: \"%s\". ".
"The same as test %d\n", $testnum,
$testname, $allnames{$testname});
- return -1;
+ exit 1;
}
# store which test that uses this name
$allnames{$testname} = $testnum;