raco exe: suppress expected stderr output

Merge to v6.0

original commit: fd2da02029
This commit is contained in:
Matthew Flatt 2013-11-30 08:07:32 -07:00
parent 88c3578e52
commit 9101bccd5b

View File

@ -1,8 +1,9 @@
#lang racket/base
(require compiler/embed
mzlib/file
mzlib/process
racket/file
racket/system
racket/port
launcher
compiler/distribute)
@ -418,7 +419,8 @@
(path->string (build-path (collection-path "tests" "compiler" "embed") prog)))
(try-exe (mk-dest mred?) "This is 6\n#t\n" mred? void "cts") ; <- cts copied to distribution
(delete-directory/files "cts")
(test #f system* (mk-dest mred?)))
(parameterize ([current-error-port (open-output-nowhere)])
(test #f system* (mk-dest mred?))))
(check-collection-path "embed-me6b.rkt" "racket/fixnum.rkt" #t)
(check-collection-path "embed-me6.rkt" "mzlib/etc.rkt" #f)