diff --git a/src/test/Makefile.inc b/src/test/Makefile.inc index 8aed65f99de..dc07375cb42 100644 --- a/src/test/Makefile.inc +++ b/src/test/Makefile.inc @@ -47,7 +47,6 @@ endif ifeq ($(LIBPMEMOBJ), y) LIBPMEM=y -USE_LOG_PMEMOBJ=y DYNAMIC_LIBS += -lpmemobj STATIC_DEBUG_LIBS += $(LIBS_DIR)/debug/libpmemobj.a STATIC_NONDEBUG_LIBS += $(LIBS_DIR)/nondebug/libpmemobj.a @@ -55,7 +54,6 @@ endif ifeq ($(LIBPMEMOBJ), internal-debug) LIBPMEM=y -USE_LOG_PMEMOBJ=y LIBPMEMCOMMON=internal-debug OBJS += $(TOP)/src/debug/libpmemobj/alloc_class.o\ $(TOP)/src/debug/libpmemobj/bucket.o\ @@ -84,7 +82,6 @@ endif ifeq ($(LIBPMEMOBJ), internal-nondebug) LIBPMEM=y -USE_LOG_PMEMOBJ=y LIBPMEMCOMMON=internal-nondebug OBJS += $(TOP)/src/nondebug/libpmemobj/alloc_class.o\ $(TOP)/src/nondebug/libpmemobj/bucket.o\ @@ -456,10 +453,6 @@ CFLAGS += -DFAULT_INJECTION=1 CXXFLAGS += -DFAULT_INJECTION=1 endif -ifeq ($(USE_LOG_PMEMOBJ),y) -CFLAGS += -DUSE_LOG_PMEMOBJ -endif - # LIBPMEMCORE == '' means the binary is built without directly linking with # core units which are required whenever test makes use of core utils. ifeq ($(LIBPMEMCORE),) diff --git a/src/test/unittest/unittest.h b/src/test/unittest/unittest.h index f0e1b19c9f5..e4933daec4f 100644 --- a/src/test/unittest/unittest.h +++ b/src/test/unittest/unittest.h @@ -90,10 +90,6 @@ extern "C" { #include "log_internal.h" #include "core_assert.h" -#ifdef USE_LOG_PMEMOBJ -#include "libpmemobj/log.h" -#endif - int ut_get_uuid_str(char *); #define UT_MAX_ERR_MSG 128 #define UT_POOL_HDR_UUID_STR_LEN 37 /* uuid string length */