Cole Helbling
025be052b7
tests: move to t, allow yath test
from root
...
By moving the tests subdirectory to t, we gain the ability to run `yath
test` with no arguments from inside `nix develop` in the root of the
the repo.
(`nix develop` is necessary in order to set the proper env vars for
`yath` to find our test libraries.)
2021-03-05 09:49:06 -08:00
Cole Helbling
014778344c
tests: remove unnecessary Cwd imports
2021-03-04 23:48:48 -08:00
Cole Helbling
9a3af13c51
tests: add jobsdir and testdir to ctx hash
...
This allows us to calculate those directories only once, and just pass
them around as necessary.
2021-03-04 23:19:48 -08:00
Graham Christensen
f08d0be1bd
tests: replace the flat list of contexts with a hash
...
This way we can return more values without breaking callers.
2021-03-04 23:11:54 -08:00
Graham Christensen
62b2880dfc
Give each test its own Nix directories
...
Otherwise we risk tripping over confusing statuses where a build is
"done" and "Cached", but we were expecting to run it.
2021-02-23 21:43:54 -05:00