mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 15:38:48 +00:00
Add grader for h1
This commit is contained in:
12
scripts/grade-hw1.sh
Normal file
12
scripts/grade-hw1.sh
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Exit when any command fails.
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Run lints.
|
||||||
|
cargo fmt --all -- --check
|
||||||
|
cargo clippy
|
||||||
|
|
||||||
|
# Run tests.
|
||||||
|
RUST_MIN_STACK=33554432 cargo test test_examples_write_c --release
|
||||||
|
python3 tests/fuzz.py --print -n30
|
||||||
Reference in New Issue
Block a user