Fixing tests

This commit is contained in:
retropikzel 2025-10-29 18:41:13 +02:00
parent dc68807de1
commit 8c0f82446d
2 changed files with 7 additions and 1 deletions

7
Jenkinsfile vendored
View File

@ -30,7 +30,6 @@ pipeline {
stage("${SCHEME}") {
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
sh "timeout 6000 make SCHEME=${SCHEME} clean test-docker"
archiveArtifacts artifacts: 'tmp/*/*.log', fingerprint: true
}
}
}]
@ -40,5 +39,11 @@ pipeline {
}
}
}
post {
always {
archiveArtifacts artifacts: '*.log', fingerprint: true
}
}
}
}

View File

@ -40,6 +40,7 @@ test: ${TMPDIR}
echo "Hello"
cd ${TMPDIR} && COMPILE_R7RS=${SCHEME} compile-r7rs -I . -o test test.scm
cd ${TMPDIR} && ./test
cp ${TMPDIR}/foreign-c-${LIBRARY}.log ${SCHEME}-foreign-c-${LIBRARY}.log
test-docker: ${TMPDIR}
docker build --build-arg IMAGE=${DOCKERIMG} --build-arg SCHEME=${SCHEME} --tag=foreign-c-library-test-${SCHEME} -f Dockerfile.test . 2> ${TMPDIR}/docker.log || cat ${TMPDIR}/docker.log