test: remove hack for private header inclusion
PATCH 1/1 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 <[email protected]>
--- app/test/test_eal_fs.c | 3 +-- app/test/test_memzone.c | 3 ++- app/test/test_telemetry_json.c | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-)
app/test/test_eal_fs.c +1 -2
@@ -8,8 +8,7 @@#include <string.h> #include <errno.h> -/* 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 )
app/test/test_memzone.c +2 -1
@@ -18,7 +18,8 @@#include <rte_string_fns.h> #include <rte_errno.h> #include <rte_malloc.h> -#include "../../lib/eal/common/malloc_elem.h" + +#include "malloc_elem.h" #include "test.h"
app/test/test_telemetry_json.c +2 -1
@@ -4,7 +4,8 @@#include <string.h> -#include "../../lib/telemetry/telemetry_json.h" +#include "telemetry_json.h" +#include "test.h" static int
Signature · 1 line
2.23.0
Quoted 6 lines · David Marchand
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 <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
Quoted 6 lines · David Marchand
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 <[email protected]>---
Acked-by Tyler Retzlaff <[email protected]>
Quoted 6 lines · David Marchand
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 <[email protected]>
Acked-by Bruce Richardson <[email protected]>
Acked-by Tyler Retzlaff <[email protected]>
Applied.
Signature · 1 line
David Marchand