fix(test_framework): pass --tps -1 to server for uncapped headless speed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-16 22:57:28 +02:00
parent 6da42fb06d
commit be4e9549ef
19 changed files with 916 additions and 31 deletions
@@ -14,6 +14,15 @@ proc compileBots*(botDirs: seq[string]): seq[string] =
var stem = lastPathPart(absDir)
if stem.endsWith("_garage"): stem = stem[0 ..< stem.len - "_garage".len]
# Pre-built bot: no src/ dir — binary lives alongside json/sh at bot root
if not dirExists(absDir / "src"):
let bin = absDir / stem
if not fileExists(bin):
raise newException(IOError,
fmt"No src/ dir and no binary found at {bin}")
result.add bin
continue
let srcFile = absDir / "src" / stem & ".nim"
if not fileExists(srcFile):
# Fall back: pick the first .nim in src/