Skip to content

Commit

Permalink
metadata: parse.sh: Add -Itestcases/kernel/include
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Petr Vorel <[email protected]>
  • Loading branch information
metan-ucw committed Jan 9, 2025
1 parent e8d54ec commit baab11a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata/parse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 ','
Expand Down

0 comments on commit baab11a

Please sign in to comment.