Add hw2 grader

This commit is contained in:
Minseong Jang
2022-03-14 10:33:28 +09:00
parent 667d892ee0
commit 3502d7193e
3 changed files with 25 additions and 2 deletions
+2 -2
View File
@@ -8,5 +8,5 @@ cargo fmt --all -- --check # run `cargo fmt` to auto-correct format.
cargo clippy
# Run tests.
RUST_MIN_STACK=33554432 cargo test test_examples_write_c --release
python3 tests/fuzz.py --print -n30
RUST_MIN_STACK=33554432 cargo test --release test_examples_write_c
RUST_MIN_STACK=33554432 python3 tests/fuzz.py --print -n30
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Exit when any command fails.
set -e
# Run lints.
cargo fmt --all -- --check # run `cargo fmt` to auto-correct format.
cargo clippy
# Run tests.
RUST_MIN_STACK=33554432 cargo test --release test_examples_irgen_small
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# Exit when any command fails.
set -e
# Run lints.
cargo fmt --all -- --check # run `cargo fmt` to auto-correct format.
cargo clippy
# Run tests.
RUST_MIN_STACK=33554432 cargo test --release test_examples_irgen
RUST_MIN_STACK=33554432 python3 tests/fuzz.py --irgen -n30