diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index c9d5d0ffc0..7047a3247d 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -598,7 +598,7 @@ jobs: repository: ${{ env.GITHUB_REPOSITORY }} ref: ${{ env.GITHUB_HEAD_REF }} - name: make - run: make all-with-unit-tests OPT=-O3 USE_JMALLOC=yes SANITIZER=address SERVER_CFLAGS='-DSERVER_TEST -Werror -DDEBUG_ASSERTIONS' + run: make all-with-unit-tests OPT=-O3 SANITIZER=address SERVER_CFLAGS='-DSERVER_TEST -Werror -DDEBUG_ASSERTIONS' - name: testprep # Work around ASAN issue, see https://github.com/google/sanitizers/issues/1716 run: | diff --git a/src/unit/test_zmalloc.c b/src/unit/test_zmalloc.c index 17a680775f..b8734da799 100644 --- a/src/unit/test_zmalloc.c +++ b/src/unit/test_zmalloc.c @@ -1,4 +1,4 @@ -#include "../../src/zmalloc.h" +#include "../zmalloc.c" #include "test_help.h" int test_zmallocInitialUsedMemory(int argc, char **argv, int flags) {