JianyuWang0623 opened a new pull request, #6:
URL: https://github.com/apache/nuttx-ntfc-testing/pull/6
## Summary
Drop the obsolete `CONFIG_INIT_ENTRYPOINT=nsh_main` requirement from
`ntfc.yaml` so the `Nuttx_System` NTFC suite can also run under
`CONFIG_INIT_ENTRYPOINT=init_main` (nxinit), e.g. `sim:citest`.
## Why
The `Nuttx_System` suite performs only `sendCommand(cmd, expected_output)`
style nsh interaction checks and never inspects the init task name or PID.
Pinning the entry point to `nsh_main` is a pre-nxinit constraint that has no
bearing on the test logic but blocks otherwise-valid configs whose init entry
point is `init_main`.
The `ntfc` package's `_kv_validate` does a strict scalar `!=` comparison, so
a multi-value requirement (e.g. `["nsh_main","init_main"]`) is not viable —
removing the single hard-coded value is the correct fix.
```diff
requirements:
- ["CONFIG_DEBUG_SYMBOLS", True]
- ["CONFIG_SYSTEM_NSH", True]
- - ["CONFIG_INIT_ENTRYPOINT", "nsh_main"]
```
## Status
Draft — full NTFC run under `init_main` still to be attached before marking
ready.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]