tvl-depot/tvix/glue
Florian Klink e4d6d20aa7 test(tvix/glue): add nonexisting_path_without_import test
This moves the failing example from cl/10285 into its separate test
case.

There were multiple complications: tvix-[ca]store was panicking in some
places, rather than returning an error. This is now fixed.

It needs to live in tvix-glue, so we actually have a "proper" EvalIO
interface doing something.

> toString ({ line = 42; col = 42; file = /deep/thought; }.file)

Should not cause an error, because it shouldn't trigger an import, but
leave the path as-is, and not care about it not being present.

Change-Id: I76f70b3cb1f73a0fb05870375710fd9f67d5603c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10342
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: sterni <sternenseemann@systemli.org>
2023-12-14 13:25:25 +00:00
..
benches feat(tvix/glue): add nixpkgs eval benchmark 2023-12-12 10:27:51 +00:00
src test(tvix/glue): add nonexisting_path_without_import test 2023-12-14 13:25:25 +00:00
Cargo.toml feat(tvix/glue): add some import tests 2023-12-13 13:41:44 +00:00
default.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00