Parser: cover full Jai corpus
This commit is contained in:
9
jaitest
9
jaitest
@@ -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]}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user