Skip to content

Commit e7d8560

Browse files
keith-packardnashif
authored andcommitted
tests/kernel: Adapt to picolibc 1.8.10 symbol changes
Picolibc changed things like _WANT_MINIMAL_IO_LONG_LONG to __IO_MINIMAL_LONG_LONG in an attempt to regularize the exposed names and eliminate names that weren't prefixed with even a single underscore. Adapt to this change by looking for both old and new symbols. Signed-off-by: Keith Packard <[email protected]>
1 parent 9e776e3 commit e7d8560

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/kernel/common/src/printk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ char expected_32[] = "22 113 10000 32768 40000 22\n"
6565
"42 42 42 42\n"
6666
"42 42 42 42\n"
6767
"25542abcdef 42\n"
68-
#if defined(_WANT_MINIMAL_IO_LONG_LONG)
68+
#if defined(_WANT_MINIMAL_IO_LONG_LONG) || defined(__IO_MINIMAL_LONG_LONG)
6969
"68719476735 -1 18446744073709551615 ffffffffffffffff\n"
7070
#else
7171
"-1 -1 4294967295 ffffffff\n"

0 commit comments

Comments
 (0)