ocaml: phase 5.1 conformance.sh integrates baseline (458/458 across 15 suites)
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 48s

bash lib/ocaml/conformance.sh now runs lib/ocaml/baseline/run.sh and
aggregates pass/fail counts under a 'baseline' suite. Full-suite
scoreboard now reports both unit-test results and end-to-end OCaml
program runs in a single artifact.
This commit is contained in:
2026-05-08 18:12:23 +00:00
parent 0858986877
commit f070bddb0e
3 changed files with 24 additions and 11 deletions

View File

@@ -72,6 +72,17 @@ while IFS= read -r line; do
fi
done < "$TMPLOG"
# Run baseline OCaml programs and aggregate into a 'baseline' suite.
if [ -x lib/ocaml/baseline/run.sh ]; then
while IFS= read -r line; do
if [[ "$line" =~ ^[[:space:]]*ok\ ([^[:space:]]+\.ml) ]]; then
SUITE_PASS[baseline]=$(( ${SUITE_PASS[baseline]:-0} + 1 ))
elif [[ "$line" =~ ^[[:space:]]*FAIL\ ([^[:space:]]+\.ml) ]]; then
SUITE_FAIL[baseline]=$(( ${SUITE_FAIL[baseline]:-0} + 1 ))
fi
done < <(bash lib/ocaml/baseline/run.sh 2>/dev/null)
fi
# Pull the final pass/total
TOTAL_PASS=0
TOTAL_FAIL=0