aboutsummaryrefslogtreecommitdiffstats
path: root/metrics/src/tests/gtest_runner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'metrics/src/tests/gtest_runner.cpp')
-rw-r--r--metrics/src/tests/gtest_runner.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/metrics/src/tests/gtest_runner.cpp b/metrics/src/tests/gtest_runner.cpp
index 35475ba19a9..2f0e0705792 100644
--- a/metrics/src/tests/gtest_runner.cpp
+++ b/metrics/src/tests/gtest_runner.cpp
@@ -1,14 +1,8 @@
// 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/vespalib/gtest/gtest.h>
#include <vespa/log/log.h>
LOG_SETUP("metrics_gtest_runner");
-int
-main(int argc, char* argv[])
-{
- ::testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
-}
-
+GTEST_MAIN_RUN_ALL_TESTS