summaryrefslogtreecommitdiffstats
path: root/storage/src/tests/gtest_runner.cpp
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-02-18 13:12:37 +0000
committerGeir Storli <geirst@verizonmedia.com>2019-02-18 13:35:35 +0000
commitf82f1cec65c02aff71039127ac361657e70ce06b (patch)
tree8401e58be7e33dc6b82a74ad3481588570142a90 /storage/src/tests/gtest_runner.cpp
parent1256e16527f31f6446690fe0b563215caae45d20 (diff)
Add gtest runner in storage and migrate bucketmovertest from CppUnit to gtest.
Diffstat (limited to 'storage/src/tests/gtest_runner.cpp')
-rw-r--r--storage/src/tests/gtest_runner.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/storage/src/tests/gtest_runner.cpp b/storage/src/tests/gtest_runner.cpp
new file mode 100644
index 00000000000..f3400187ff4
--- /dev/null
+++ b/storage/src/tests/gtest_runner.cpp
@@ -0,0 +1,14 @@
+// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+#include <gtest/gtest.h>
+
+#include <vespa/log/log.h>
+LOG_SETUP("storage_gtest_runner");
+
+int
+main(int argc, char* argv[])
+{
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}
+