Skip to content

Commit

Permalink
build: promote tsan ci to must-pass
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Jan 20, 2023
1 parent a3b7dfc commit 67063ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sanitizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ jobs:
(cd build-tsan && cmake .. -G Ninja -DBUILD_TESTING=ON -DTSAN=ON -DCMAKE_BUILD_TYPE=Release)
cmake --build build-tsan
- name: TSAN Test
continue-on-error: true # currently permit failures
# Note: path must be absolute because some tests chdir.
# TSan exits with an error when it can't find the file.
run: |
./build-tsan/uv_run_tests_a
env TSAN_OPTIONS="suppressions=$PWD/tsansupp.txt" ./build-tsan/uv_run_tests_a
- name: UBSAN Build
run: |
Expand Down
2 changes: 2 additions & 0 deletions tsansupp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# glibc reads `count` field unsynchronized, not a libuv bug
race:pthread_barrier_destroy

0 comments on commit 67063ea

Please sign in to comment.