From 54a575077006494c83ee043ebc21e09c4fe8b596 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 19 Jul 2020 00:36:22 -0400 Subject: test(3p/nix): Add property tests for attribute set Add a set of property tests for the attribute set (Bindings) class checking that the Merge operation satisfies the monoid laws. This will hopefully become useful to make sure we're not breaking the language semantics as we work towards optimizing or replacing the implementation, but also serves as a test bed for adding rapidcheck-based property tests to the codebase. Change-Id: I1b4b7b6503d08d80c1c5a8f9408fd4b787d00e8e Reviewed-on: https://cl.tvl.fyi/c/depot/+/1283 Reviewed-by: isomer Tested-by: BuildkiteCI --- third_party/nix/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'third_party/nix/default.nix') diff --git a/third_party/nix/default.nix b/third_party/nix/default.nix index c4a30501697f..54e77ec50d11 100644 --- a/third_party/nix/default.nix +++ b/third_party/nix/default.nix @@ -55,7 +55,6 @@ in pkgs.llvmPackages.libcxxStdenv.mkDerivation { flex glog grpc - gtest libseccomp libsodium openssl @@ -67,6 +66,11 @@ in pkgs.llvmPackages.libcxxStdenv.mkDerivation { doCheck = false; doInstallCheck = true; + installCheckInputs = with pkgs; [ + gtest + rapidcheck + ]; + propagatedBuildInputs = with pkgs; [ boost largeBoehm -- cgit 1.4.1