Improving tests

This commit is contained in:
retropikzel 2026-03-14 09:14:03 +02:00
parent 366444e1e0
commit fe45e2340a
1 changed files with 2 additions and 8 deletions

10
Jenkinsfile vendored
View File

@ -20,12 +20,6 @@ pipeline {
}
stages {
stage('Docker image warmup') {
steps {
sh "docker build -f Dockerfile.test ."
}
}
stage('R6RS tests') {
steps {
script {
@ -35,7 +29,7 @@ pipeline {
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "rm -rf logs/*.json"
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs run-test-docker"
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r6rs test-docker"
archiveArtifacts(artifacts: "logs/${SCHEME}-${LIBRARY}.ctrf.json", allowEmptyArchive: false, fingerprint: true)
}
}
@ -54,7 +48,7 @@ pipeline {
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "rm -rf logs/*.json"
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs run-test-docker"
sh "timeout 600 make SCHEME=${SCHEME} LIBRARY=${LIBRARY} RNRS=r7rs test-docker"
archiveArtifacts(artifacts: "logs/${SCHEME}-${LIBRARY}.ctrf.json", allowEmptyArchive: false, fingerprint: true)
}
}