casaroli opened a new pull request, #4210:
URL: https://github.com/apache/nuttx-apps/pull/4210

   depends-on: apache/nuttx/pull/22584
   
   ## Summary
   
   Add a case `test_nuttx_syscall_uname01` to `cmocka_syscall_test` 
(`testing/testsuites/kernel/syscall`). It calls `uname()` and checks that 
`sysname` is `NuttX` and that `machine` is the name that Linux gives for the 
same CPU: `aarch64` on arm64, `riscv64` and `riscv32` on RISC-V, `x86_64` on 
x86_64. On other architectures it only checks that `machine` is not empty.
   
   The new names come with apache/nuttx#22584. Merge this PR after it.
   
   ## Impact
   
   Only `cmocka_syscall_test` changes: one new case file, its prototype and its 
line in the test list. No other case changes.
   
   ## Testing
   
   | Configuration | nuttx master 1af7ac541e4 | nuttx with apache/nuttx#22584 |
   |---|---|---|
   | qemu-armv8a:nsh (flat, arm64, QEMU TCG) + `CM_SYSCALL_TEST` | FAIL: 
`"arm64" != "aarch64"` | OK |
   | rv-virt:nsh64 (flat, riscv64, QEMU TCG) + `CM_SYSCALL_TEST` | FAIL: 
`"risc-v" != "riscv64"` | OK |
   | rv-virt:nsh (flat, riscv32, QEMU TCG) + `CM_SYSCALL_TEST` | - | OK |
   
   `tools/checkpatch.sh -c -u -m -g`: 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]

Reply via email to