From c192cd04b83d95810968992fbd13a31d59d6b630 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 30 Apr 2024 00:14:57 +0300 Subject: feat(tvix/glue/tests): configure ` available in the testsuite. At some point, we might want to classify different types of tests excepting a different featureset, but for now, enabling this for all of glue is fine. Change-Id: Ided450bbb1f8eb7b66d454bd28bd19b17eb318e4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11546 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster --- tvix/glue/src/tests/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tvix/glue/src/tests/mod.rs') diff --git a/tvix/glue/src/tests/mod.rs b/tvix/glue/src/tests/mod.rs index f18cae3720..8e1572b6e3 100644 --- a/tvix/glue/src/tests/mod.rs +++ b/tvix/glue/src/tests/mod.rs @@ -14,6 +14,7 @@ use rstest::rstest; use crate::{ builtins::{add_derivation_builtins, add_fetcher_builtins, add_import_builtins}, + configure_nix_path, tvix_io::TvixIO, tvix_store_io::TvixStoreIO, }; @@ -61,6 +62,7 @@ fn eval_test(code_path: PathBuf, expect_success: bool) { add_derivation_builtins(&mut eval, tvix_store_io.clone()); add_fetcher_builtins(&mut eval, tvix_store_io.clone()); add_import_builtins(&mut eval, tvix_store_io.clone()); + configure_nix_path(&mut eval, &None); let result = eval.evaluate(code, Some(code_path.clone())); let failed = match result.value { -- cgit 1.4.1