Improving tests

This commit is contained in:
retropikzel 2025-12-06 12:40:40 +02:00
parent 2bc679b7c3
commit 954cc405d4
1 changed files with 9 additions and 9 deletions

18
Jenkinsfile vendored
View File

@ -14,9 +14,9 @@ pipeline {
parameters { parameters {
//string(name: 'R7RS_SCHEMES', defaultValue: 'chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon', description: '') //string(name: 'R7RS_SCHEMES', defaultValue: 'chibi chicken gauche guile kawa mosh racket sagittarius stklos ypsilon', description: '')
string(name: 'R7RS_SCHEMES', defaultValue: 'chibi', description: '') string(name: 'R7RS_SCHEMES', defaultValue: 'chibi kawa', description: '')
//string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme guile ikarus ironscheme mosh racket sagittarius ypsilon', description: '') //string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme guile ikarus ironscheme mosh racket sagittarius ypsilon', description: '')
string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme', description: '') string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme ikarus', description: '')
//string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme', description: '') //string(name: 'R6RS_SCHEMES', defaultValue: 'chezscheme', description: '')
string(name: 'LIBRARIES', defaultValue: 'system', description: '') string(name: 'LIBRARIES', defaultValue: 'system', description: '')
} }
@ -24,17 +24,18 @@ pipeline {
stages { stages {
stage('Tests') { stage('Tests') {
parallel { parallel {
/*
stage('R6RS') { stage('R6RS') {
steps { steps {
script { script {
params.LIBRARIES.split().each { LIBRARY -> params.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") { stage("${LIBRARY}") {
params.R6RS_SCHEMES.split().each { SCHEME -> parallel params.R6RS_SCHEMES.split().collectEntries { SCHEME ->
def IMG="${SCHEME}:head" [(SCHEME): {
stage("${SCHEME} - ${LIBRARY}") { def IMG="${SCHEME}:head"
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') { stage("${SCHEME} - ${LIBRARY}") {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker" catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
}
} }
} }
} }
@ -43,7 +44,6 @@ pipeline {
} }
} }
} }
*/
stage('R7RS') { stage('R7RS') {
steps { steps {
script { script {