This repository has been archived on 2026-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
K1NG-Driver/includes/tomlc17-R260618/test/parser/run.sh
T
2026-07-30 13:18:41 +02:00

21 lines
448 B
Bash

#!/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