Fixing tests

This commit is contained in:
retropikzel 2025-07-15 08:42:15 +03:00
parent 287513221a
commit dd1b5dce66
1 changed files with 16 additions and 12 deletions

28
Jenkinsfile vendored
View File

@ -14,13 +14,15 @@ pipeline {
steps { steps {
script { script {
def r6rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r6rs-schemes', returnStdout: true).split() def r6rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r6rs-schemes', returnStdout: true).split()
parallel r6rs_implementations.collectEntries { implementation->
r6rs_implementations.each { implementation-> [(implementation): {
stage("${implementation} R6RS") { stage("${implementation} R6RS") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make test-r6rs-docker SCHEME=${implementation}" sh "make test-r6rs-docker SCHEME=${implementation}"
}
}
} }
} ]
} }
} }
} }
@ -30,13 +32,15 @@ pipeline {
steps { steps {
script { script {
def r7rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r7rs-schemes', returnStdout: true).split() def r7rs_implementations = sh(script: 'chibi-scheme -I ./snow -I . compile-r7rs.scm --list-r7rs-schemes', returnStdout: true).split()
parallel r7rs_implementations.collectEntries { implementation->
r7rs_implementations.each { implementation-> [(implementation): {
stage("${implementation} R7RS") { stage("${implementation} R7RS") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "make test-r7rs-docker SCHEME=${implementation}" sh "make test-r7rs-docker SCHEME=${implementation}"
}
}
} }
} ]
} }
} }
} }