diff options
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/eval/src/tests/mod.rs | 2 | ||||
-rw-r--r-- | tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp (renamed from tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.exp) | 0 | ||||
-rw-r--r-- | tvix/eval/src/tests/nix_tests/eval-okay-getenv.nix (renamed from tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.nix) | 0 |
3 files changed, 2 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/mod.rs b/tvix/eval/src/tests/mod.rs index c80368970ec1..856707119be0 100644 --- a/tvix/eval/src/tests/mod.rs +++ b/tvix/eval/src/tests/mod.rs @@ -40,6 +40,8 @@ mod mock_builtins { } fn eval_test(code_path: PathBuf, expect_success: bool) { + std::env::set_var("TEST_VAR", "foo"); // for eval-okay-getenv.nix + eprintln!("path: {}", code_path.display()); assert_eq!( code_path.extension().unwrap(), diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.exp b/tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp index 14e24d419005..14e24d419005 100644 --- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.exp +++ b/tvix/eval/src/tests/nix_tests/eval-okay-getenv.exp diff --git a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.nix b/tvix/eval/src/tests/nix_tests/eval-okay-getenv.nix index 4cfec5f553d9..4cfec5f553d9 100644 --- a/tvix/eval/src/tests/nix_tests/notyetpassing/eval-okay-getenv.nix +++ b/tvix/eval/src/tests/nix_tests/eval-okay-getenv.nix |