From c96d7334435e23fd56aa6404f886bdc08af500e8 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Thu, 12 Feb 2026 14:53:35 +0200 Subject: [PATCH] Fix testing --- Jenkinsfile | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fdb28bd..48d756e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,17 +21,15 @@ pipeline { stage('R6RS tests') { steps { 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 -> stage("${LIBRARY}") { - parallel implementations.collectEntries { SCHEME -> - [(SCHEME): { - stage("${SCHEME}") { + implementations.each { SCHEME -> + stage("${SCHEME}") { 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') { steps { 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 -> stage("${LIBRARY}") { - parallel implementations.collectEntries { SCHEME -> - [(SCHEME): { - stage("${SCHEME}") { + implementations.each { SCHEME -> + stage("${SCHEME}") { 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" } - }] + } } } }