make pkg tests work more by setting PATH

Merge to v6.0
This commit is contained in:
Matthew Flatt 2013-11-24 10:19:56 -07:00
parent 6eb94da75f
commit b354a0dd08

View File

@ -9,6 +9,7 @@
racket/runtime-path
racket/path
racket/list
racket/format
setup/dirs
pkg/util
"shelly.rkt")
@ -62,6 +63,9 @@
(environment-variables-copy
(current-environment-variables))])
(putenv "PLTCONFIGDIR" tmp-dir-s)
(putenv "PATH" (~a (find-console-bin-dir)
":"
(getenv "PATH")))
(t)))
(λ ()
(delete-directory/files tmp-dir))))