mirror of
https://github.com/python/cpython.git
synced 2026-06-28 03:41:13 +00:00
GHA: Display output when a sanitizer test fails (#151268)
Modify GitHub Action "Reusable Sanitizer" to display output when a test fails: pass -W option.
This commit is contained in:
parent
7b6e98911e
commit
3a8bebd86f
1 changed files with 2 additions and 2 deletions
4
.github/workflows/reusable-san.yml
vendored
4
.github/workflows/reusable-san.yml
vendored
|
|
@ -89,12 +89,12 @@ jobs:
|
|||
./python -m test
|
||||
${{ inputs.sanitizer == 'TSan' && '--tsan' || '' }}
|
||||
${{ inputs.sanitizer == 'UBSan' && '-x test_capi -x test_faulthandler' || '' }}
|
||||
-j4
|
||||
-j4 -W
|
||||
- name: Parallel tests
|
||||
if: >-
|
||||
inputs.sanitizer == 'TSan'
|
||||
&& fromJSON(inputs.free-threading)
|
||||
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4
|
||||
run: ./python -m test --tsan-parallel --parallel-threads=4 -j4 -W
|
||||
- name: Display logs
|
||||
if: always()
|
||||
run: find "${GITHUB_WORKSPACE}" -name 'san_log.*' | xargs head -n 1000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue