diff options
author | Vincent Ambo <mail@tazj.in> | 2022-08-10T16·18+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2022-08-24T23·11+0000 |
commit | 7d5691f0e58970e85126c06c6617bec026618b10 (patch) | |
tree | 3bf409b2d1e007a1065f6c99a0079b1a2b1a5c00 /tvix/eval/src/tests/mod.rs | |
parent | 8235384d2d72514e1ef67de1782dc9f604039435 (diff) |
chore(tvix/tests): gate Nix test suite behind `nix_tests` feature r/4464
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 <grfn@gws.fyi>
Diffstat (limited to 'tvix/eval/src/tests/mod.rs')
-rw-r--r-- | tvix/eval/src/tests/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/eval/src/tests/mod.rs b/tvix/eval/src/tests/mod.rs index fa565733951a..75b3d9bb7c68 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 |