From 413cc83f4a9f0a1d3cbb6c5bae4ba222e25f7c59 Mon Sep 17 00:00:00 2001 From: Karthick Ariyaratnam Date: Fri, 17 May 2024 18:12:26 +0000 Subject: [PATCH] try fix. --- .github/workflows/daily.yml | 2 -- src/unit/test_zmalloc.c | 2 +- src/zmalloc.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 5a02c20a7b..c9d5d0ffc0 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -597,8 +597,6 @@ jobs: with: repository: ${{ env.GITHUB_REPOSITORY }} ref: ${{ env.GITHUB_HEAD_REF }} - - name: clean make - run: make distclean - name: make run: make all-with-unit-tests OPT=-O3 USE_JMALLOC=yes SANITIZER=address SERVER_CFLAGS='-DSERVER_TEST -Werror -DDEBUG_ASSERTIONS' - name: testprep diff --git a/src/unit/test_zmalloc.c b/src/unit/test_zmalloc.c index 6c1d03e8e1..17a680775f 100644 --- a/src/unit/test_zmalloc.c +++ b/src/unit/test_zmalloc.c @@ -1,4 +1,4 @@ -#include "../zmalloc.h" +#include "../../src/zmalloc.h" #include "test_help.h" int test_zmallocInitialUsedMemory(int argc, char **argv, int flags) { diff --git a/src/zmalloc.h b/src/zmalloc.h index 8fa150147d..054809a4ff 100644 --- a/src/zmalloc.h +++ b/src/zmalloc.h @@ -31,7 +31,6 @@ #ifndef __ZMALLOC_H #define __ZMALLOC_H -#include /* Double expansion needed for stringification of macro values. */ #define __xstr(s) __str(s)