mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 06:58:50 +00:00
Change test method
This commit is contained in:
25
README.md
25
README.md
@@ -34,23 +34,24 @@ For more information, please refer to the [KECC User's Manual](bin/README.md).
|
||||
## Test
|
||||
|
||||
```sh
|
||||
RUST_MIN_STACK=33554432 cargo test # debug build test
|
||||
RUST_MIN_STACK=33554432 cargo test --release # release build test
|
||||
cargo install cargo-nextest
|
||||
RUST_MIN_STACK=33554432 cargo nextest run # debug build test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run --release # release build test
|
||||
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_write_c # run write_c test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_write_c # run write_c test
|
||||
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_irgen_small # run irgen test using a small subset of examples
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_irgen # run irgen test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_irgen_small # run irgen test using a small subset of examples
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_irgen # run irgen test
|
||||
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_simplify_cfg # run simplify_cfg test
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_mem2reg # run mem2reg test
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_deadcode # run deadcode test
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_gvn # run gvn test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_simplify_cfg # run simplify_cfg test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_mem2reg # run mem2reg test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_deadcode # run deadcode test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_gvn # run gvn test
|
||||
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_asmgen_small # run asmgen test using a small subset of examples
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_asmgen # run asmgen test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_asmgen_small # run asmgen test using a small subset of examples
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_asmgen # run asmgen test
|
||||
|
||||
RUST_MIN_STACK=33554432 cargo test test_examples_end_to_end # run irgen, optimize and asmgen pipeline test
|
||||
RUST_MIN_STACK=33554432 cargo nextest run test_examples_end_to_end # run irgen, optimize and asmgen pipeline test
|
||||
```
|
||||
|
||||
`RUST_MIN_STACK=33554432` is necessary for deep call stack for irgen tests.
|
||||
|
||||
Reference in New Issue
Block a user