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:
1 parent
e40900bfc0
commit
ce002998c4
4 files changed
+24
-17
No files matched your search
Vendored
+4
-5
@@ -6,7 +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\$'" : ''
|
||||
def testSelection = preset.startsWith('Context') ? "--preset \"${preset}\"" : "--test-dir \"${buildDir}\""
|
||||
|
||||
stage("${suite}-${preset}") {
|
||||
dir(suiteDir) {
|
||||
@@ -17,11 +17,10 @@ def runOneRegression(String suite, String preset, String simulatorPath) {
|
||||
cmake --fresh --preset "${preset}" \\
|
||||
-DTHREADX_TEST_SIMULATOR="${simulatorPath}"
|
||||
cmake --build --preset "${preset}" --parallel "\$(nproc)"
|
||||
ctest \\
|
||||
--test-dir "${buildDir}" \\
|
||||
ctest ${testSelection} \\
|
||||
--output-on-failure \\
|
||||
--output-junit "${buildDir}/ctest-results.xml" \\
|
||||
--parallel "4" ${testFilter}
|
||||
--output-junit "\$PWD/${buildDir}/ctest-results.xml" \\
|
||||
--parallel "4"
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user