Adding tests to Jenkins
This commit is contained in:
parent
52e17ff06e
commit
01c06ec962
|
@ -15,20 +15,18 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
script {
|
script {
|
||||||
r6rs_implementations = sh 'sash -L ./snow -L . compile-r7rs.scm --list-r6rs-schemes'
|
r6rs_implementations = sh 'sash -L ./snow -L . compile-r7rs.scm --list-r6rs-schemes'
|
||||||
r7rs_implementations = sh 'sash -L ./snow -L . compile-r7rs.scm --list-r7rs-schemes'
|
r7rs_implementations = sh 'sash -L ./snow -L . compile-r7rs.scm --list-r7rs-schemes'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stage('Test R6RS implementations') {
|
||||||
stage('Test R6RS implementations') {
|
steps {
|
||||||
steps {
|
script {
|
||||||
script {
|
r6rs_implementations.each { implementation->
|
||||||
r6rs_implementations.each { implementation->
|
stage("${implementation} ${test}") {
|
||||||
stage("${implementation} ${test}") {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
sh "make test-r6rs COMPILE_R7RS=${implementation}"
|
||||||
sh "make test-r6rs COMPILE_R7RS=${implementation}"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue