diff options
author | Florian Klink <flokli@flokli.de> | 2022-08-12T14·10+0700 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2022-09-11T14·31+0000 |
commit | 43a2eaa1b6e74574b2f7672340d0ac1aff03a0e2 (patch) | |
tree | 9168e2196fb59931cd7650e6b17c7e0e8c35e30e /tvix/nix_cli/src/bin | |
parent | e6a6b0dccbf3a49088944a30cf43812d94a27302 (diff) |
chore(tvix/nix_cli): build with tests r/4816
only run test_nix_store_add() when the feature integration_tests is enabled. Change-Id: I600f08ecaefe1ce77651ae07a58d7987107ab969 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6084 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/nix_cli/src/bin')
-rw-r--r-- | tvix/nix_cli/src/bin/nix-store.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tvix/nix_cli/src/bin/nix-store.rs b/tvix/nix_cli/src/bin/nix-store.rs index e1568fff73f0..8d008a414dc4 100644 --- a/tvix/nix_cli/src/bin/nix-store.rs +++ b/tvix/nix_cli/src/bin/nix-store.rs @@ -80,6 +80,7 @@ mod integration_tests { } #[test] + #[cfg_attr(not(feature = "integration_tests"), ignore)] fn test_nix_store_add() { let file_content = "I am a copied file"; let mut tempfile = tempfile::NamedTempFile::new().expect("cannot create temp file"); |