To run a Julia test, use make sandbox-FOO
where FOO
is the name of a valid argument to Base.runtests()
. Good examples are all
, cmdlineargs
, InteractiveUtils
, etc...
To compare against unsandboxed execution, run test-FOO
.
With a few patches merged, this is now working as expected!
The following tests have strange behavior that we should probably fix:
cmdlineargs
test requires writing toshare/julia/test/testhelpers
get_anon_hdl()
ignores$TMPDIR
, instead always writing to/tmp
Profile
looks up lineinfo data which uses paths embedded during build, so it requires read access to paths that most likely do not exist (e.g./Users/julia/buildbot/worker/package_macos64/build
).