imeghar2408-max opened a new pull request, #20127: URL: https://github.com/apache/nuttx/pull/20127
Assisted-by: GitHub Copilot ## Summary Add NTFC (NuttX Test Framework Configuration) support for the existing RISC-V `ksmp64` kernel SMP configuration (`rv-virt:ksmp64`). This enables automated CI test coverage for the SMP kernel build, exercising `ostest` and SMP-specific test cases across 4 harts under QEMU. ## Testing **Build** ```console $ ./tools/configure.sh rv-virt:ksmp64 $ make -j$(nproc) ``` Verified key configuration options: ``` CONFIG_BUILD_KERNEL=y CONFIG_ARCH_USE_S_MODE=y CONFIG_SMP=y CONFIG_SMP_NCPUS=4 CONFIG_SYSTEM_NSH=y CONFIG_TESTING_OSTEST=y CONFIG_TESTING_SMP=y ``` **Kernel application build/import** ```console $ make export -j$(nproc) $ cd ../apps $ ./tools/mkimport.sh -z -x ../nuttx/nuttx-export-*.tar.gz $ make import -j$(nproc) ``` **QEMU SMP boot** ```console $ qemu-system-riscv64 -semihosting -M virt,aclint=on -cpu rv64 -smp 4 -kernel ./nuttx -nographic ``` Boots cleanly to NSH with all 4 harts recognized by OpenSBI. **NTFC test run** ```console $ NTFCDIR=/tmp/nuttx-ntfc ./tools/testbuild.sh -C -R /tmp/nuttx-ksmp64-testlist ``` 933 tests collected, 3 skipped, exit code 0 — no failures. **Static checks** ```console $ git diff --check $ ./tools/checkpatch.sh -c -u -m -g "$BASE..HEAD" $ ./tools/checkpatch.sh -c ``` All checks pass. --- -- 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]
