ltp: discover test cases from application binaries on kernel builds

Kernel builds install every application as a standalone binary, so the
ltp_*_main symbols the discovery looked for do not exist in the OS
image and no test case was generated. Enumerate the ltp_* binaries
from app_bindir, keeping the symbol scan for flat builds.

Signed-off-by: raiden00pl <raiden00@railab.me>
Assisted-by: Claude Code
1 file changed
tree: 1b59daadb31edb1cef87e5298d3505ae78ce2b16
  1. arch/
  2. driver/
  3. fs/
  4. libc/
  5. ltp/
  6. mm/
  7. rpmsg/
  8. safety/
  9. sched/
  10. security/
  11. socket/
  12. syscall/
  13. timer/
  14. tools/
  15. .asf.yaml
  16. .gitignore
  17. LICENSE
  18. ntfc.yaml
  19. README.md
  20. tox.ini
README.md

nuttx-ntfc-testing

This repository contains test cases compatible with the NTFC tool for Apache NuttX RTOS. For details, please visit the NTFC repository.

Preparing the image for testing

NuttX image requirements for tests:

  • CONFIG_DEBUG_SYMBOLS must be set.

  • NSH must be enabled (CONFIG_SYSTEM_NSH); the init entry point may be either nsh_main or init_main (nxinit)

  • CONFIG_DEBUG_FEATURES=y and CONFIG_DEBUG_ASSERTIONS=y are recommended.