make the example-test private file's work be behind a thunk (so more drdr friendly)
This commit is contained in:
parent
36155e913e
commit
ff800c997e
|
@ -29,4 +29,6 @@
|
||||||
(cons
|
(cons
|
||||||
new-collection-root
|
new-collection-root
|
||||||
(current-library-collection-paths))])
|
(current-library-collection-paths))])
|
||||||
(namespace-require 'tests/drracket/private/run-example-tool))
|
(namespace-require 'tests/drracket/private/run-example-tool)
|
||||||
|
(eval '(go)))
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,10 @@
|
||||||
framework/test
|
framework/test
|
||||||
mrlib/switchable-button)
|
mrlib/switchable-button)
|
||||||
|
|
||||||
|
(provide go)
|
||||||
|
|
||||||
|
(define (go)
|
||||||
|
|
||||||
(define init-options@
|
(define init-options@
|
||||||
(unit (import setup-option^)
|
(unit (import setup-option^)
|
||||||
(export)
|
(export)
|
||||||
|
@ -76,5 +80,4 @@
|
||||||
(fprintf (current-error-port)
|
(fprintf (current-error-port)
|
||||||
"example-tool.rkt: test failed;\nexpected ~s\n but got ~s"
|
"example-tool.rkt: test failed;\nexpected ~s\n but got ~s"
|
||||||
expected
|
expected
|
||||||
content))))
|
content)))))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user