mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 17:27:18 +00:00
Make test cross-platform
This commit is contained in:
parent
f977ace7f8
commit
1ccd879916
@ -138,7 +138,11 @@
|
|||||||
"/dev/null"))
|
"/dev/null"))
|
||||||
(os/open path :w))
|
(os/open path :w))
|
||||||
(with [dn (devnull)]
|
(with [dn (devnull)]
|
||||||
(os/execute ["ls"] :px {:out dn :err dn})))
|
(os/execute [(dyn :executable)
|
||||||
|
"-e"
|
||||||
|
"(print :foo) (eprint :bar)"]
|
||||||
|
:px
|
||||||
|
{:out dn :err dn})))
|
||||||
|
|
||||||
(end-suite)
|
(end-suite)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user