From: David Marchand Date: Thu, 24 Jun 2021 11:53:19 +0000 (+0200) Subject: test: remove hack for private header inclusion X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=09e640e35ee7990a8188c3a90a55baa1eb68792b;p=dpdk.git test: remove hack for private header inclusion This hack was needed with the make build system. With meson, any private header from a library is visible as long as a dependency to this library is expressed. Signed-off-by: David Marchand Acked-by: Bruce Richardson Acked-by: Tyler Retzlaff --- diff --git a/app/test/test_eal_fs.c b/app/test/test_eal_fs.c index bb93b82a43..39ac6961b3 100644 --- a/app/test/test_eal_fs.c +++ b/app/test/test_eal_fs.c @@ -8,8 +8,7 @@ #include #include -/* eal_filesystem.h is not a public header file, so use relative path */ -#include "../../lib/eal/common/eal_filesystem.h" +#include "eal_filesystem.h" static int test_parse_sysfs_value(void) diff --git a/app/test/test_memzone.c b/app/test/test_memzone.c index 03a9d1d3bb..27b8b52fcd 100644 --- a/app/test/test_memzone.c +++ b/app/test/test_memzone.c @@ -18,7 +18,8 @@ #include #include #include -#include "../../lib/eal/common/malloc_elem.h" + +#include "malloc_elem.h" #include "test.h" diff --git a/app/test/test_telemetry_json.c b/app/test/test_telemetry_json.c index 3171ab12ec..790181d316 100644 --- a/app/test/test_telemetry_json.c +++ b/app/test/test_telemetry_json.c @@ -4,7 +4,8 @@ #include -#include "../../lib/telemetry/telemetry_json.h" +#include "telemetry_json.h" + #include "test.h" static int