add config support

This commit is contained in:
2026-07-30 13:18:41 +02:00
parent 215ed9705e
commit dc1aa5e5b6
124 changed files with 7402 additions and 8 deletions
@@ -0,0 +1,20 @@
#!/bin/bash
mkdir -p out
echo
echo =========================
echo == parser test
echo =========================
for fname in {1..200} array{1..10} tab{1..10} x{1..10} e{1..10}; do
IN="in/$fname.toml"
if [ -f $IN ]; then
echo test $fname.toml
OUT="out/$fname.out"
GOOD="good/$fname.out"
./driver $IN &> $OUT || true # ignore failure
diff $GOOD $OUT || { echo '--- FAILED ---'; exit 1; }
fi
done
echo DONE