Improving tests

This commit is contained in:
2025-12-06 12:01:48 +02:00
parent 0a56d28ff0
commit 36f530d826
Vendored
+13 -17
View File
@@ -32,13 +32,11 @@ pipeline {
script {
params.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") {
stages {
params.R6RS_SCHEMES.split().each { SCHEME ->
def IMG="${SCHEME}:head"
stage("${SCHEME} - ${LIBRARY}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
}
params.R6RS_SCHEMES.split().each { SCHEME ->
def IMG="${SCHEME}:head"
stage("${SCHEME} - ${LIBRARY}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r6rs-docker"
}
}
}
@@ -52,16 +50,14 @@ pipeline {
script {
params.LIBRARIES.split().each { LIBRARY ->
stage("${LIBRARY}") {
stages {
params.R7RS_SCHEMES.split().each { SCHEME ->
def IMG="${SCHEME}:head"
if("${SCHEME}" == "chicken") {
IMG="${SCHEME}:5"
}
stage("${SCHEME} - ${LIBRARY}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
}
params.R7RS_SCHEMES.split().each { SCHEME ->
def IMG="${SCHEME}:head"
if("${SCHEME}" == "chicken") {
IMG="${SCHEME}:5"
}
stage("${SCHEME} - ${LIBRARY}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} test-r7rs-docker"
}
}
}