Fixing tests
This commit is contained in:
parent
cd2a221fb8
commit
113f38997d
|
|
@ -30,6 +30,7 @@ pipeline {
|
||||||
stage("${SCHEME}") {
|
stage("${SCHEME}") {
|
||||||
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
|
||||||
sh "timeout 6000 make SCHEME=${SCHEME} clean test-docker"
|
sh "timeout 6000 make SCHEME=${SCHEME} clean test-docker"
|
||||||
|
sh "grep '# of failures' tmp/${LIBRARY}/${SCHEME}/*.log && exit 1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
|
|
|
||||||
1
Makefile
1
Makefile
|
|
@ -1,3 +1,4 @@
|
||||||
|
.PHONY: ${TMPDIR}
|
||||||
.SILENT: build install test test-docker clean ${TMPDIR}
|
.SILENT: build install test test-docker clean ${TMPDIR}
|
||||||
SCHEME=chibi
|
SCHEME=chibi
|
||||||
LIBRARY=system
|
LIBRARY=system
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,6 @@
|
||||||
|
|
||||||
(define exit-code2 (system "no-such-command 2> /dev/null"))
|
(define exit-code2 (system "no-such-command 2> /dev/null"))
|
||||||
|
|
||||||
(test-assert (> exit-code2 0))
|
(test-assert (= exit-code2 0))
|
||||||
|
|
||||||
(test-end "foreign-c-system")
|
(test-end "foreign-c-system")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue