Test upstream RISC-V SMP candidates on HERE VP

Build the SMP library and Moonlight board support against a selectable ThreadX source tree. Keep the pinned regression matrix and add RV32GC and RV64GC context tests. Adapt the direct timeout fixture to the RV64 timer extension and give timing-sensitive cases more phase coverage on HERE VP.
This commit is contained in:
alex committed 2026-11-27 11:13:06 +01:00
1 parent f3dc14193c
commit 054251f810
12 files changed
+363 -251

No files matched your search

Vendored
+4 -2
View File
@@ -6,6 +6,7 @@ def threadxTestSimulator = '/usr/local/bin/riscv-vp'
def runOneRegression(String suite, String preset, String simulatorPath) {
def suiteDir = "test/${suite}"
def buildDir = "../../build/${preset}/test/${suite}"
def testFilter = preset.startsWith('Context') ? "-R '^vp_smp_context\$'" : ''
stage("${suite}-${preset}") {
dir(suiteDir) {
@@ -20,7 +21,7 @@ def runOneRegression(String suite, String preset, String simulatorPath) {
--test-dir "${buildDir}" \\
--output-on-failure \\
--output-junit "${buildDir}/ctest-results.xml" \\
--parallel "4"
--parallel "4" ${testFilter}
"""
}
}
@@ -57,7 +58,8 @@ def runRegressionLane(String image, String simulatorPath, boolean allowFailure,
def suiteName = suite
def parallelTasks = [:]
for (String preset : presetNames) {
def suitePresets = suiteName == 'smp' ? presetNames + ['Context32', 'Context64'] : presetNames
for (String preset : suitePresets) {
def presetName = preset
def taskName = "${suiteName}-${presetName}"
parallelTasks[taskName] = {