diff options
Diffstat (limited to 'document/src')
-rw-r--r-- | document/src/tests/gtest_runner.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/document/src/tests/gtest_runner.cpp b/document/src/tests/gtest_runner.cpp index efe108c2042..fed042acceb 100644 --- a/document/src/tests/gtest_runner.cpp +++ b/document/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("document_gtest_runner"); -int -main(int argc, char* argv[]) -{ - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -} - +GTEST_MAIN_RUN_ALL_TESTS |