diff options
11 files changed, 11 insertions, 11 deletions
diff --git a/document/src/tests/gtest_runner.cpp b/document/src/tests/gtest_runner.cpp index fed042acceb..7a55e8a098e 100644 --- a/document/src/tests/gtest_runner.cpp +++ b/document/src/tests/gtest_runner.cpp @@ -5,4 +5,4 @@ #include <vespa/log/log.h> LOG_SETUP("document_gtest_runner"); -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/documentapi/src/tests/loadtypes/loadtypetest.cpp b/documentapi/src/tests/loadtypes/loadtypetest.cpp index 33257af4f0e..20efb281300 100644 --- a/documentapi/src/tests/loadtypes/loadtypetest.cpp +++ b/documentapi/src/tests/loadtypes/loadtypetest.cpp @@ -74,4 +74,4 @@ TEST(LoadTypeTest, testConfig) } // documentapi -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/eval/src/tests/tensor/tensor_add_operation/tensor_add_operation_test.cpp b/eval/src/tests/tensor/tensor_add_operation/tensor_add_operation_test.cpp index 4c92dc717a7..1d39a557114 100644 --- a/eval/src/tests/tensor/tensor_add_operation/tensor_add_operation_test.cpp +++ b/eval/src/tests/tensor/tensor_add_operation/tensor_add_operation_test.cpp @@ -82,4 +82,4 @@ TEST(TensorAddTest, tensors_of_different_types_cannot_be_added_together) assertNullTensor(TensorSpec("tensor(x{},y[2])"), TensorSpec("tensor(x{},y[3])")); } -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/eval/src/tests/tensor/tensor_modify_operation/tensor_modify_operation_test.cpp b/eval/src/tests/tensor/tensor_modify_operation/tensor_modify_operation_test.cpp index 31f17b3eed2..00ee55ed7af 100644 --- a/eval/src/tests/tensor/tensor_modify_operation/tensor_modify_operation_test.cpp +++ b/eval/src/tests/tensor/tensor_modify_operation/tensor_modify_operation_test.cpp @@ -108,4 +108,4 @@ TEST(TensorModifyTest, mixed_tensors_ignore_updates_to_missing_or_out_of_range_c .add({{"x","a"},{"y",1}}, 3)); } -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/eval/src/tests/tensor/tensor_remove_operation/tensor_remove_operation_test.cpp b/eval/src/tests/tensor/tensor_remove_operation/tensor_remove_operation_test.cpp index df21b46691d..ceeaf2c99da 100644 --- a/eval/src/tests/tensor/tensor_remove_operation/tensor_remove_operation_test.cpp +++ b/eval/src/tests/tensor/tensor_remove_operation/tensor_remove_operation_test.cpp @@ -92,4 +92,4 @@ TEST(TensorRemoveTest, all_cells_can_be_removed_from_a_mixed_tensor) TensorSpec("tensor(x{},y[2])")); } -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/metrics/src/tests/gtest_runner.cpp b/metrics/src/tests/gtest_runner.cpp index 2f0e0705792..3672752b2c2 100644 --- a/metrics/src/tests/gtest_runner.cpp +++ b/metrics/src/tests/gtest_runner.cpp @@ -5,4 +5,4 @@ #include <vespa/log/log.h> LOG_SETUP("metrics_gtest_runner"); -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/staging_vespalib/src/vespa/vespalib/gtest/gtest.h b/staging_vespalib/src/vespa/vespalib/gtest/gtest.h index ed4e65b71cb..67d3d438a52 100644 --- a/staging_vespalib/src/vespa/vespalib/gtest/gtest.h +++ b/staging_vespalib/src/vespa/vespalib/gtest/gtest.h @@ -5,7 +5,7 @@ /** * Macro for creating a main function that runs all gtests. */ -#define GTEST_MAIN_RUN_ALL_TESTS \ +#define GTEST_MAIN_RUN_ALL_TESTS() \ int \ main(int argc, char* argv[]) \ { \ diff --git a/storage/src/tests/gtest_runner.cpp b/storage/src/tests/gtest_runner.cpp index 762f6dba6db..0eb65b00d49 100644 --- a/storage/src/tests/gtest_runner.cpp +++ b/storage/src/tests/gtest_runner.cpp @@ -5,4 +5,4 @@ #include <vespa/log/log.h> LOG_SETUP("storage_gtest_runner"); -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/storageapi/src/tests/gtest_runner.cpp b/storageapi/src/tests/gtest_runner.cpp index d499a54af50..9d412b163f8 100644 --- a/storageapi/src/tests/gtest_runner.cpp +++ b/storageapi/src/tests/gtest_runner.cpp @@ -5,4 +5,4 @@ #include <vespa/log/log.h> LOG_SETUP("storageapi_gtest_runner"); -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/storageframework/src/tests/gtest_runner.cpp b/storageframework/src/tests/gtest_runner.cpp index e9a1c9b1ed8..22088bd87b2 100644 --- a/storageframework/src/tests/gtest_runner.cpp +++ b/storageframework/src/tests/gtest_runner.cpp @@ -5,4 +5,4 @@ #include <vespa/log/log.h> LOG_SETUP("storageframework_gtest_runner"); -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() diff --git a/vdslib/src/tests/gtest_runner.cpp b/vdslib/src/tests/gtest_runner.cpp index e200813ef61..ed432b3c890 100644 --- a/vdslib/src/tests/gtest_runner.cpp +++ b/vdslib/src/tests/gtest_runner.cpp @@ -5,4 +5,4 @@ #include <vespa/log/log.h> LOG_SETUP("vdslib_gtest_runner"); -GTEST_MAIN_RUN_ALL_TESTS +GTEST_MAIN_RUN_ALL_TESTS() |