nuttx-apps/examples/elf
aviralgarg05 6ca1272b99 examples/elf: extend nxpkg validation coverage.
Extend the examples/elf ROMFS path so nxpkg validation can use
generated package fixtures instead of hand-managed metadata.

Generate index.json, bad-index.json, pkgtest.nsh, and pkgfail.nsh
from the built hello ELF, recording the correct target arch/compat
metadata and SHA-256 digest for the valid fixture. Keep mismatched-
target and missing-artifact cases alongside the valid fixture so
nxpkg target selection and failure handling can be exercised from
the same example tree. Group the paired fixture outputs in one make
step so parallel builds do not re-enter the generator independently.

This keeps the fixture metadata tied to the actual built hello
artifact instead of relying on manually maintained hashes or ad hoc
shell setup, making follow-up review and later test reruns more
predictable. There is no intended loader or board-behavior change;
this is limited to fixture generation inside examples/elf.

Assisted-by: Claude:claude-sonnet-5
Assisted-by: OpenAI Codex:gpt-5.6-sol
Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
2026-07-25 12:06:28 -03:00
..
main examples/elf: extend nxpkg validation coverage. 2026-07-25 12:06:28 -03:00
tests examples/elf: extend nxpkg validation coverage. 2026-07-25 12:06:28 -03:00
.gitignore apps:modify examples elf compile method 2026-01-16 21:07:56 +08:00
CMakeLists.txt apps:modify examples elf compile method 2026-01-16 21:07:56 +08:00
Make.defs apps:modify examples elf compile method 2026-01-16 21:07:56 +08:00
Makefile apps:modify examples elf compile method 2026-01-16 21:07:56 +08:00