Skip to content

A peer-to-peer stack for code collaboration

557 B
Raw Blame
#!/usr/bin/env radicle

;; Run all tests defined in the prelude and print their results with
;; TAP. Exit with status code 1 if any of the tests fail.

(load! (find-module-file! "tests/stub-primitives.rad"))
(load! (find-module-file! "prelude.rad"))
(load! (find-module-file! "monadic/patch.rad"))
(load! (find-module-file! "monadic/issue.rad"))
(load! (find-module-file! "monadic/names.rad"))
(load! (find-module-file! "monadic/project.rad"))

(import prelude/test)

(def tests-ok (prelude/test/run-all (read-ref tests)))
(if tests-ok (exit! 0) (exit! 1))