From 7d5691f0e58970e85126c06c6617bec026618b10 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 10 Aug 2022 19:18:01 +0300 Subject: chore(tvix/tests): gate Nix test suite behind `nix_tests` feature Once we have full coverage they should be enabled by default. Change-Id: Iace9e1ae9a9f901a0979ad336434004b8028fe8a Reviewed-on: https://cl.tvl.fyi/c/depot/+/6129 Tested-by: BuildkiteCI Reviewed-by: grfn --- tvix/eval/src/tests/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'tvix/eval/src/tests/mod.rs') diff --git a/tvix/eval/src/tests/mod.rs b/tvix/eval/src/tests/mod.rs index fa56573395..75b3d9bb7c 100644 --- a/tvix/eval/src/tests/mod.rs +++ b/tvix/eval/src/tests/mod.rs @@ -7,6 +7,7 @@ use test_generator::test_resources; // // These evaluations are always supposed to succeed, i.e. all snippets // are guaranteed to be valid Nix code. +#[cfg(feature = "nix_tests")] #[test_resources("src/tests/nix_tests/eval-okay-*.nix")] fn eval_okay(code_path: &str) { let base = code_path -- cgit 1.4.1