Remove dependency on unstable/error.
This commit is contained in:
parent
f85a12bdc6
commit
a2b10f72f7
|
@ -43,7 +43,6 @@ Thus, In essence this module has three responsibilites:
|
||||||
racket/path
|
racket/path
|
||||||
racket/syntax
|
racket/syntax
|
||||||
rackunit/log
|
rackunit/log
|
||||||
unstable/error
|
|
||||||
racket/list
|
racket/list
|
||||||
racket/port
|
racket/port
|
||||||
custom-load
|
custom-load
|
||||||
|
@ -146,7 +145,11 @@ Thus, In essence this module has three responsibilites:
|
||||||
(vprintf "file ~s exited code ~s" the-file (an-exit-code x))]
|
(vprintf "file ~s exited code ~s" the-file (an-exit-code x))]
|
||||||
[else
|
[else
|
||||||
(set! tests-errored #t)
|
(set! tests-errored #t)
|
||||||
(error-display x)]))])
|
((error-display-handler)
|
||||||
|
(if (exn? x)
|
||||||
|
(exn-message x)
|
||||||
|
"non-exn error:")
|
||||||
|
x)]))])
|
||||||
(parameterize ([current-command-line-arguments argv]
|
(parameterize ([current-command-line-arguments argv]
|
||||||
[exit-handler (lambda (x) (raise (an-exit x)))])
|
[exit-handler (lambda (x) (raise (an-exit x)))])
|
||||||
(vprintf "running file: ~s with args: ~s" the-file argv)
|
(vprintf "running file: ~s with args: ~s" the-file argv)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user