Skip to content

Commit

Permalink
disable LeakSanitizer in GitHub Actions
Browse files Browse the repository at this point in the history
It randomly fails with a fatal error for no apparent reason.

Fixes #19189
  • Loading branch information
xenu committed Oct 15, 2021
1 parent 0163c91 commit 4360225
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,9 @@ jobs:
ASAN_OPTIONS=detect_leaks=0 ./perl -Ilib -V
ASAN_OPTIONS=detect_leaks=0 ./perl -Ilib -e 'use Config; print Config::config_sh'
- name: Run Tests
# LeakSanitizer is disabled because it randomly crashes, see [gh #19189]
run: |
PERL_DESTRUCT_LEVEL=2 TEST_JOBS=2 ./perl t/harness
ASAN_OPTIONS=detect_leaks=0 PERL_DESTRUCT_LEVEL=2 TEST_JOBS=2 ./perl t/harness
# ____ _____ ____ _ _ _ _ _ ___ ____ ___ ____ _____
# | _ \| ____| _ \| | | | | | \ | |_ _/ ___/ _ \| _ \| ____|
Expand Down Expand Up @@ -606,5 +607,6 @@ jobs:
ASAN_OPTIONS=detect_leaks=0 ./perl -Ilib -V
ASAN_OPTIONS=detect_leaks=0 ./perl -Ilib -e 'use Config; print Config::config_sh'
- name: Run Tests
# LeakSanitizer is disabled because it randomly crashes, see [gh #19189]
run: |
PERL_DESTRUCT_LEVEL=2 LC_ALL=en_US.UTF-8 PERL_UNICODE="" PERL_DESTRUCT_LEVEL=2 TEST_JOBS=2 ./perl t/harness
ASAN_OPTIONS=detect_leaks=0 PERL_DESTRUCT_LEVEL=2 LC_ALL=en_US.UTF-8 PERL_UNICODE="" TEST_JOBS=2 ./perl t/harness

0 comments on commit 4360225

Please sign in to comment.