Fix testing

This commit is contained in:
retropikzel 2026-02-12 14:53:35 +02:00
parent 9a0f13923e
commit c96d733443
1 changed files with 10 additions and 14 deletions

12
Jenkinsfile vendored
View File

@ -21,17 +21,15 @@ pipeline {
stage('R6RS tests') { stage('R6RS tests') {
steps { steps {
script { script {
def implementations = sh(script: 'compile-scheme --list-r6rs-except ironscheme larceny', returnStdout: true).split() def implementations = sh(script: 'compile-scheme --list-r6rs', returnStdout: true).split()
params.LIBRARIES.split().each { LIBRARY -> params.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") { stage("${LIBRARY}") {
parallel implementations.collectEntries { SCHEME -> implementations.each { SCHEME ->
[(SCHEME): {
stage("${SCHEME}") { stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs run-test-docker" sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs run-test-docker"
} }
} }
}]
} }
} }
} }
@ -41,17 +39,15 @@ pipeline {
stage('R7RS tests') { stage('R7RS tests') {
steps { steps {
script { script {
def implementations = sh(script: 'compile-scheme --list-r7rs-except capyscheme cyclone foment gambit meevax skint larceny tr7', returnStdout: true).split() def implementations = sh(script: 'compile-scheme --list-r7rs-except larceny', returnStdout: true).split()
params.LIBRARIES.split().each { LIBRARY -> params.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") { stage("${LIBRARY}") {
parallel implementations.collectEntries { SCHEME -> implementations.each { SCHEME ->
[(SCHEME): {
stage("${SCHEME}") { stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs run-test-docker" sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs run-test-docker"
} }
} }
}]
} }
} }
} }