diff options
author | David Thompson <dthompson2@worcester.edu> | 2022-10-03 19:22:23 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2022-10-22 11:48:39 -0400 |
commit | 14464dee966fe415d4c8e1fb8b5205653b22003f (patch) | |
tree | 986a7b03a089a4545465901cadce4d671f3032c1 /tests/utils.scm | |
parent | dcf869ccd7ec9d33c937507fe96e9e09f517bded (diff) |
Add prototype catbird modules.
Diffstat (limited to 'tests/utils.scm')
-rw-r--r-- | tests/utils.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/utils.scm b/tests/utils.scm new file mode 100644 index 0000000..b05f70c --- /dev/null +++ b/tests/utils.scm @@ -0,0 +1,9 @@ +(define-module (tests utils) + #:use-module (srfi srfi-64) + #:export (with-tests)) + +(define-syntax-rule (with-tests name body ...) + (begin + (test-begin name) + body ... + (exit (zero? (test-runner-fail-count (test-end)))))) |