Skip to content

Conversation

@keith-packard
Copy link

When assert is used, picolibc will eventually call _exit. Provide a stub for that which spins to cause failing test cases to timeout.

As upstream plans to bring all C library functionality into the library, this should not be needed in the long term.

When assert is used, picolibc will eventually call _exit. Provide
a stub for that which spins to cause failing test cases to timeout.

As upstream plans to bring all C library functionality into the
library, this should not be needed in the long term.

Signed-off-by: Keith Packard <keithp@keithp.com>
@keith-packard keith-packard mentioned this pull request Dec 4, 2025
@keith-packard
Copy link
Author

This doesn't appear to be required to make the twister tests work, but that's only because assert() is disabled during that build with a global -DNDEBUG on the command line. If that gets fixed, then this change will be necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant