apache / nuttx-apps

Apache NuttX Apps is a collection of tools, shells, network utilities, libraries, interpreters and can be used with the NuttX RTOS
https://nuttx.apache.org/
Apache License 2.0
268 stars 504 forks source link

ostest: add test for libc memmem() function #2327

Closed juniskane closed 5 months ago

juniskane commented 5 months ago

Summary

ostest: add test for libc memmem() function

See https://github.com/apache/nuttx/pull/11889

Impact

Testing

acassis commented 5 months ago

Is if failing because chicken-egg CI test:

/usr/bin/ld: nuttx.rel: in function `user_main':
/github/workspace/sources/apps/testing/ostest/ostest_main.c:266: undefined reference to `memmem_test'
juniskane commented 5 months ago

I forgot someone wanted to add cmake to nuttx. This CI error is misleading:

cmake-format check failed, run following command to update the style:
  $ cmake-format -o <src> <dst>

-o option is the output or destination, first argument is input or source file for the cmake-format tool

acassis commented 5 months ago

I forgot someone wanted to add cmake to nuttx. This CI error is misleading:

cmake-format check failed, run following command to update the style:
  $ cmake-format -o <src> <dst>

-o option is the output or destination, first argument is input or source file for the cmake-format tool

Thank you, I will submit a fix to this typo

acassis commented 5 months ago

Done: https://github.com/apache/nuttx/pull/11900