Skip to content

Commit

Permalink
Add tests with tsan for boc homework
Browse files Browse the repository at this point in the history
  • Loading branch information
kingdoctor123 committed Mar 20, 2024
1 parent f867a1d commit 5fea682
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion homework/scripts/grade-boc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ RUNNERS=(
"cargo --release"
"cargo_asan"
"cargo_asan --release"
"cargo_tsan"
"cargo_tsan --release"
)
TIMEOUT=180s
TIMEOUT=500s
SCORE=0

echo "1. Basic tests"
Expand Down
3 changes: 3 additions & 0 deletions homework/suppress_tsan.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
# `cargo_tsan test` does not give out false positives.
race:Arc

# boc tests
race:crossbeam_deque

# uses fences
race:crossbeam_epoch

0 comments on commit 5fea682

Please sign in to comment.