Add support for running raco test on TR unit tests.
This commit is contained in:
parent
92d1dd1c5e
commit
1e890f18be
|
@ -24,6 +24,9 @@
|
|||
(define-syntax gen-test-main
|
||||
(syntax-parser
|
||||
[(stx:id)
|
||||
#`(module* main #f
|
||||
(require rackunit/text-ui)
|
||||
(void (run-tests #,(datum->syntax #'stx 'tests))))]))
|
||||
#`(begin
|
||||
(module* main #f
|
||||
(require rackunit/text-ui)
|
||||
(void (run-tests #,(datum->syntax #'stx 'tests))))
|
||||
(module* test #f
|
||||
(require (submod ".." main))))]))
|
||||
|
|
Loading…
Reference in New Issue
Block a user