Skip to content

Commit b6d45e1

Browse files
cfriedtjhedberg
authored andcommitted
testsuite: coverage: use correct path to fnmatch.h
The minimal libc does not include `fnmatch.h` in its default search path. This causes an issue when running coverage in CI as shown here. https://github.com/zephyrproject-rtos/zephyr/actions/runs/18839500380/\ job/53748166725 That would technically be fixed with #97855 as well. Testing Done: ``` west twister -c -p qemu_x86/atom -s kernel.pending.minimallibc --coverage\ --coverage-tool gcovr ``` Signed-off-by: Chris Friedt <[email protected]>
1 parent 0ffef90 commit b6d45e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/testsuite/coverage/coverage.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#include <stdint.h>
1010
#include <errno.h>
1111
#include <string.h>
12-
#include <fnmatch.h>
12+
#include <zephyr/posix/fnmatch.h>
1313
#include "coverage.h"
1414
#include <zephyr/arch/common/semihost.h>
1515
#include <sys/types.h>

0 commit comments

Comments
 (0)