[LTP] [PATCH 9/9] metadata: parse.sh: Add -Itestcases/kernel/include
Cyril Hrubis
chrubis@suse.cz
Wed Dec 18 20:00:29 CET 2024
This does not completely fix macro expansions without the patchset I've
send that removes the mess in testcases/kernel/mem/{lib,include}/
library because before the patchset some headers e.g. the ksm_helper.h
was included indirectly from the testcases/kernel/mem/include/mem.h
header.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
metadata/parse.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/metadata/parse.sh b/metadata/parse.sh
index 69bf5db65..7db2e2415 100755
--- a/metadata/parse.sh
+++ b/metadata/parse.sh
@@ -30,7 +30,7 @@ echo ' "tests": {'
first=1
for test in `find testcases/ -name '*.c'|sort`; do
- a=$($top_builddir/metadata/metaparse -Iinclude -Itestcases/kernel/syscalls/utils/ "$test")
+ a=$($top_builddir/metadata/metaparse -Iinclude -Itestcases/kernel/syscalls/utils/ -Itestcases/kernel/include "$test")
if [ -n "$a" ]; then
if [ -z "$first" ]; then
echo ','
--
2.45.2
More information about the ltp
mailing list