raco pkg: adjust tests to use PLTUSERHOME

The tests formerly set `PLTADDONDIR` to separate runs, but that no
longer makes the cache directory separate. Setting `PLTUSERHOME` is a
more complete separation.
This commit is contained in:
Matthew Flatt 2020-08-28 15:50:12 -06:00
parent c95775641d
commit 754211eead

View File

@ -114,7 +114,7 @@
(parameterize ([current-environment-variables (parameterize ([current-environment-variables
(environment-variables-copy (environment-variables-copy
(current-environment-variables))]) (current-environment-variables))])
(putenv "PLTADDONDIR" tmp-dir-s) (putenv "PLTUSERHOME" tmp-dir-s)
(t))) (t)))
(λ () (λ ()
(delete-directory/files tmp-dir)))) (delete-directory/files tmp-dir))))