Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
eendebakpt committed Feb 22, 2025
1 parent 60acc1a commit d1c7b4a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/compiler_sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,8 @@ jobs:
python -m spin build -j2 -- -Db_sanitize=thread
- name: Test
run: |
# try to figure out root folder for source
echo $HOME
set
# These tests are slow, so only run tests in files that do "import threading" to make them count
TSAN_OPTIONS="allocator_may_return_null=1:suppressions=/Users/runner/work/numpy/numpy/tools/ci/tsan_suppressions.txt" \
TSAN_OPTIONS="allocator_may_return_null=1:suppressions=$GITHUB_WORKSPACE/tools/ci/tsan_suppressions.txt" \
python -m spin test \
`find numpy -name "test*.py" | xargs grep -l "import threading" | tr '\n' ' '` \
-- -v -s --timeout=600 --durations=10
4 changes: 0 additions & 4 deletions tools/ci/tsan_suppressions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
#
# Reference: https://github.com/google/sanitizers/wiki/ThreadSanitizerSuppressions


# These warnings trigger directly in a CPython function.

# For np.nonzero, see gh-28361
#race:lowlevel_strided_loops.c.src
race:PyArray_Nonzero
race:count_nonzero_int
race:count_nonzero_bool
Expand Down

0 comments on commit d1c7b4a

Please sign in to comment.