diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-09-17 10:56:37 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2021-09-26 08:51:18 +0000 |
commit | 74b89a14a21264cd65b6a5593bc9cbdc45ae66bd (patch) | |
tree | c8c894071e288bd9f9520732f62debea80c36cd9 /.github | |
parent | 698f3fd86ef82701014ecaecd634e449aa14026e (diff) | |
download | perl-74b89a14a21264cd65b6a5593bc9cbdc45ae66bd.tar.gz |
Test clang's ASAN as well as gcc's ASAN
On the GH virtual machine, gcc's ASAN appears to be slightly buggy, as the
`-Accflags=-DPURIFY` job is causing cpan/File-Path/t/Path.t to reliably
SEGV after passing all 167 subtests:
Tracer caught signal 11: addr=0x0 pc=0x7ff95dfaa8b0 sp=0x7ff95a2a6ce0
LeakSanitizer has encountered a fatal error.
I can't replicate this on machines I have access to, which makes it rather
hard to debug. Hence side-step the issue by running this test with clang
instead, so that we also test with clang's ASAN implementation.
We still test with gcc's ASAN in one of the PERL_UNICODE jobs.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/testsuite.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 61994e7a48..9e413db7f0 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -533,7 +533,7 @@ jobs: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Configure run: | - ./Configure -des -Dusedevel -Dcc="gcc -fsanitize=address" -Dld="gcc -fsanitize=address" ${{ matrix.CONFIGURE_ARGS }} -Dprefix="$HOME/perl-blead" + ./Configure -des -Dusedevel -Dcc="clang -fsanitize=address" -Dld="clang -fsanitize=address" ${{ matrix.CONFIGURE_ARGS }} -Dprefix="$HOME/perl-blead" - name: Build run: | PERL_DESTRUCT_LEVEL=2 make -j2 test_prep |