summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorAzat Khuzhin <azat@libevent.org>2023-02-12 17:05:20 +0100
committerAzat Khuzhin <azat@libevent.org>2023-02-12 21:55:40 +0100
commit1df2a5a69efc7f9653c8867f81259ade957ad030 (patch)
tree9962d6b18d9ce19fa270af1f315c37342c0af9cb /.github/workflows/build.yml
parent207ea62bf95e9868fc6d982305da98678fbc4507 (diff)
downloadlibevent-1df2a5a69efc7f9653c8867f81259ade957ad030.tar.gz
test: enable allocator_may_return_null=1 for calloc with ENOMEM test
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ad3a4d2b..66201571 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -134,8 +134,10 @@ jobs:
export CTEST_PARALLEL_LEVEL=$JOBS
export CTEST_OUTPUT_ON_FAILURE=1
- export TSAN_OPTIONS=suppressions=$PWD/extra/tsan.supp
+ # Enable allocator_may_return_null for test_event_calloc_enomem
+ export TSAN_OPTIONS=suppressions=$PWD/extra/tsan.supp:allocator_may_return_null=1
export LSAN_OPTIONS=suppressions=$PWD/extra/lsan.supp
+ export ASAN_OPTIONS=allocator_may_return_null=1
if [ "${{ matrix.EVENT_MATRIX }}" == "DIST" ]; then
cd dist