about summary refs log tree commit diff
path: root/third_party/nix/src/tests/store_tests.cc
diff options
context:
space:
mode:
authorKane York <kanepyork@gmail.com>2020-08-15T00·23-0700
committerkanepyork <rikingcoding@gmail.com>2020-08-18T03·58+0000
commit010dba3495c7e761fe24f77ec1af3b5e08d69ca1 (patch)
tree2d6b8a65ecc7ef74aed0a6f9ac372d372aa21345 /third_party/nix/src/tests/store_tests.cc
parent737d192aec9318c66928f13a8e42b66468740aa8 (diff)
chore(tvix/tests): Add OpenTemporaryStore() helper r/1671
Change-Id: Ia655175c255f9cf5a47e4e7a20373a4ba4315ed9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1753
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'third_party/nix/src/tests/store_tests.cc')
-rw-r--r--third_party/nix/src/tests/store_tests.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/third_party/nix/src/tests/store_tests.cc b/third_party/nix/src/tests/store_tests.cc
index 1aea33bfd18b..936a0cee1b68 100644
--- a/third_party/nix/src/tests/store_tests.cc
+++ b/third_party/nix/src/tests/store_tests.cc
@@ -10,6 +10,7 @@
 
 #include "libstore/binary-cache-store.hh"
 #include "libstore/mock-binary-cache-store.hh"
+#include "tests/store-util.hh"
 
 using ::testing::HasSubstr;
 
@@ -17,13 +18,6 @@ namespace nix {
 
 MakeError(InjectedError, Error);
 
-class StoreTest : public ::testing::Test {
- public:
-  static void SetUpTestSuite() {
-    google::InitGoogleLogging("--logtostderr=false");
-  }
-};
-
 class BinaryCacheStoreTest : public StoreTest {};
 
 constexpr absl::string_view kXZHeader = "7zXZ";