diff --git a/homework/README.md b/homework/README.md index 1d9ae31b3f3..a160f432f71 100644 --- a/homework/README.md +++ b/homework/README.md @@ -18,24 +18,33 @@ - Use rustfmt and clippy: - ``` + ```sh cargo fmt cargo clippy ``` - Running individual tests - ``` + ```sh # Run all tests in a module cargo test --test - # For example, run all tests in the hazard_pointer module + # For example, run all tests in tests/hazard_pointer.rs cargo test --test hazard_pointer - # Run all tests in a module + + # Run all tests in a module that matches (substring) the name cargo test --test # For example, run the stack_queue test in the hazard_pointer module cargo test --test hazard_pointer stack_queue + + # Run the test that exactly matches the name + cargo test --test -- --exact ``` +- Running grading scripts in Mac: [#338](https://github.com/kaist-cp/cs431/issues/338). + +- Q: Sanitizer output is not readable. + A: Make sure that `llvm-symbolizer` is under `$PATH`. This should be already set up in our server. + ## Using LLVM Sanitizers We use LLVM sanitizers for grading.