From db0f4c44ce2be84fe725c2a74f3c9bdccd3ec251 Mon Sep 17 00:00:00 2001 From: "Jian-Ding Chen (timchen119)" Date: Wed, 24 Feb 2021 11:44:01 +0800 Subject: [PATCH] Fix TOP_SOURCEDIR not found error when enable unit test checks only without integration tests Signed-off-by: Jian-Ding Chen (timchen119) --- Makefile-test.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile-test.am b/Makefile-test.am index 3a2d3c806..020b6680e 100644 --- a/Makefile-test.am +++ b/Makefile-test.am @@ -128,6 +128,7 @@ TESTS_UNIT += \ endif ESYS if FAPI +TESTS_CFLAGS += -DTOP_SOURCEDIR"=\"$(top_srcdir)\"" TESTS_UNIT += \ test/unit/fapi-json \ test/unit/fapi-helpers \