Parser: cover full Jai corpus

This commit is contained in:
hgranthorner
2026-08-04 13:44:59 -04:00
parent 8265389f64
commit bb54639ce5
21 changed files with 649 additions and 113 deletions

View File

@@ -26,7 +26,14 @@ fi
run_gradle() {
rm -rf build/reports/tests/test
./jaigradle cleanTest test "${extra[@]}" "$@" 2>&1 | grep -vE '^\[[0-9.]+s\]\[warning\]\[cds\]'
# Bash 3.2 (the macOS system shell) treats an empty array expansion as an
# unset variable under `set -u`. Keep the no-extra-args invocation separate
# so the wrapper works both with and without a test filter.
if ((${#extra[@]})); then
./jaigradle cleanTest test "${extra[@]}" "$@" 2>&1 | grep -vE '^\[[0-9.]+s\]\[warning\]\[cds\]'
else
./jaigradle cleanTest test "$@" 2>&1 | grep -vE '^\[[0-9.]+s\]\[warning\]\[cds\]'
fi
return "${PIPESTATUS[0]}"
}