Switch testing to TAP and JUnit

This commit is contained in:
2026-07-19 15:52:47 +03:00
parent 085b87194d
commit cbf860fcc0
11 changed files with 123 additions and 22 deletions
+12 -5
View File
@@ -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))))