Used the pinned ThreadX submodule for SMP regression

Pin the tested Minres SMP port and document the same default workflow for both suites. Put the hard-float test filter in the CTest presets and use an absolute JUnit path in Jenkins.
This commit is contained in:
alex committed 2026-11-27 12:06:02 +01:00
1 parent e40900bfc0
commit ce002998c4
4 files changed
+24 -17

No files matched your search

+6 -11
View File
@@ -37,23 +37,18 @@ cmake --build build/Debug32/test/threadx/ --parallel
ctest --test-dir build/Debug32/test/threadx --output-on-failure --parallel 4
```
To validate a ThreadX checkout that contains the GNU RISC-V SMP ports, pass its
absolute path as `THREADX_SMP_SOURCE_DIR`. The SMP library, demo, and regression
suite all use that checkout. The two context presets run focused hard-float
tests on a four-hart HERE VP.
For SMP, use `test/smp` and the corresponding `build/Debug32/test/smp` directory
in the same commands. The regular SMP presets exercise integer builds.
Use `Context32` or `Context64` for a focused hard-float test on four-hart system.
```bash
cd test/smp
cmake --preset Context64 \
-DTHREADX_TEST_SIMULATOR=/opt/riscv-vp/bin/riscv-vp \
-DTHREADX_SMP_SOURCE_DIR=/path/to/threadx
cmake --preset Context64 -DTHREADX_TEST_SIMULATOR=/opt/riscv-vp/bin/riscv-vp
cmake --build --preset Context64 --parallel
ctest --test-dir ../../build/Context64/test/smp -R '^vp_smp_context$' --output-on-failure
ctest --preset Context64
```
Use `Context32` for RV32GC. The regular SMP presets run the integer regression
suite. Jenkins runs both suites on the pinned HERE VP image and uses the latest
image as a canary when it differs.
## Demo Applications