Switch testing to TAP and JUnit
This commit is contained in:
+12
-5
@@ -4,9 +4,16 @@
|
||||
(scheme char)
|
||||
(scheme file)
|
||||
(scheme process-context)
|
||||
(srfi 64)
|
||||
;(retropikzel mouth)
|
||||
;(retropikzel ctrf)
|
||||
(retropikzel LIBRARY))
|
||||
(retropikzel tap)
|
||||
(retropikzel junit)
|
||||
(retropikzel LIBRARY)
|
||||
(srfi 64))
|
||||
|
||||
;(test-runner-current (ctrf-runner))
|
||||
(cond
|
||||
;; In Jenkins
|
||||
((get-environment-variable "WORKSPACE")
|
||||
(let ((junit-file "junit-result.xml"))
|
||||
(test-runner-current (junit-runner))
|
||||
(when (file-exists? junit-file) (delete-file junit-file))
|
||||
(set-junit-runner-output-port! (open-output-file junit-file))))
|
||||
(else (test-runner-current (tap-runner))))
|
||||
|
||||
Reference in New Issue
Block a user