Open TaiJuWu opened 2 months ago
@acassis @xiaoxiang781216 Do you have any idea about the fail cases? I have no idea what make these testcases fail.
@acassis @xiaoxiang781216 Do you have any idea about the fail cases? I have no idea what make these testcases fail.
here is the error:
====================================================================================
Configuration/Tool: rv-virt/knetnsh64_smp
------------------------------------------------------------------------------------
Cleaning...
Configuring...
Building NuttX...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 496k 100 496k 0 0 1736k 0 --:--:-- --:--:-- --:--:-- 1736k
/github/workspace/sources/apps /github/workspace/sources/nuttx
Warning: fpu.c:55:8: warning: #warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)" [-Wcpp]
55 | # warning "FPU test not built; Only available in the flat build (CONFIG_BUILD_FLAT)"
| ^~~~~~~
riscv-none-elf-ld: /github/workspace/sources/apps/libapps.a(spinlock.c.github.workspace.sources.apps.testing.ostest_1.o): in function `thread_native_spinlock':
/github/workspace/sources/apps/testing/ostest/spinlock.c:60:(.text.thread_native_spinlock+0x42): undefined reference to `spin_lock'
riscv-none-elf-ld: /github/workspace/sources/apps/testing/ostest/spinlock.c:62:(.text.thread_native_spinlock+0x54): undefined reference to `spin_unlock'
riscv-none-elf-ld: /github/workspace/sources/apps/libapps.a(spinlock.c.github.workspace.sources.apps.testing.ostest_1.o): in function `thread_wrt_spinlock':
/github/workspace/sources/apps/testing/ostest/spinlock.c:128:(.text.thread_wrt_spinlock+0x42): undefined reference to `write_lock'
riscv-none-elf-ld: /github/workspace/sources/apps/testing/ostest/spinlock.c:131:(.text.thread_wrt_spinlock+0x54): undefined reference to `write_unlock'
riscv-none-elf-ld: /github/workspace/sources/apps/libapps.a(spinlock.c.github.workspace.sources.apps.testing.ostest_1.o): in function `thread_read_spinlock':
/github/workspace/sources/apps/testing/ostest/spinlock.c:109:(.text.thread_read_spinlock+0x56): undefined reference to `read_lock'
riscv-none-elf-ld: /github/workspace/sources/apps/testing/ostest/spinlock.c:113:(.text.thread_read_spinlock+0x78): undefined reference to `read_unlock'
make[3]: *** [/github/workspace/sources/apps/Application.mk:251: /github/workspace/sources/apps/bin/ostest] Error 1
make[2]: *** [Makefile:52: /github/workspace/sources/apps/testing/ostest_install] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:97: .import] Error 2
make: *** [Makefile:103: import] Error 2
/github/workspace/sources/nuttx
ping @TaiJuWu Did you test it again?
ping @TaiJuWu Did you test it again?
Hi @acassis , I have no idea how to resolve these fail tests. If anyone know how to reslove this issue, welcome to take it over.
@xiaoxiang781216 any suggestion?
Summary
Os spinlock test
Impact
Test for spinlock
Testing
local test