Switch testing to TAP and JUnit
This commit is contained in:
+12
-5
@@ -1,8 +1,15 @@
|
||||
(import (except (rnrs) delete-file)
|
||||
(retropikzel tap)
|
||||
(retropikzel junit)
|
||||
(retropikzel LIBRARY)
|
||||
(srfi :64)
|
||||
(srfi :98)
|
||||
;(retropikzel mouth)
|
||||
;(retropikzel ctrf)
|
||||
(retropikzel LIBRARY))
|
||||
(srfi :98))
|
||||
|
||||
;(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