grader updates from CS431 (#11)

* If any of linters fail, don't run the tests.
* If build fails, echo the error message to stderr.
* Fix sanitizer options.
* Don't use colored output (it messes up gg log).
* $@ → "$@"
* $@ → $* in string
This commit is contained in:
Jaehwang Jung
2022-09-25 12:11:24 +09:00
committed by Seungmin Jeon
parent e91413b506
commit 7913e6774e
5 changed files with 37 additions and 20 deletions

View File

@@ -18,8 +18,7 @@ RUNNERS=(
)
# Lints.
cargo fmt --check
cargo clippy
run_linters || exit 1
# Executes test for each runner.
for RUNNER in "${RUNNERS[@]}"; do