-
Notifications
You must be signed in to change notification settings - Fork 615
Commit
…r-for-vespalib-util Gather all gtests in tests/util in single gtest runner binary.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | ||
|
||
# Runner for unit tests written in gtest. | ||
# NOTE: All new test classes should be added here. | ||
vespa_add_executable(vespalib_util_gtest_runner_test_app TEST | ||
SOURCES | ||
gtest_runner.cpp | ||
bfloat16_test.cpp | ||
cgroup_resource_limits_test.cpp | ||
file_area_freelist_test.cpp | ||
generation_hold_list_test.cpp | ||
generationhandler_test.cpp | ||
memory_trap_test.cpp | ||
mmap_file_allocator_factory_test.cpp | ||
mmap_file_allocator_test.cpp | ||
rcuvector_test.cpp | ||
size_literals_test.cpp | ||
static_string_test.cpp | ||
string_escape_test.cpp | ||
DEPENDS | ||
vespalib | ||
onnxruntime | ||
GTest::GTest | ||
) | ||
|
||
vespa_add_test( NAME vespalib_util_gtest_runner_test_app COMMAND vespalib_util_gtest_runner_test_app) |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,5 +133,3 @@ TEST_F(GenerationHandlerTest, require_that_generation_can_grow_large) | |
} | ||
|
||
} | ||
|
||
GTEST_MAIN_RUN_ALL_TESTS() |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | ||
|
||
#include <vespa/vespalib/gtest/gtest.h> | ||
|
||
#include <vespa/log/log.h> | ||
LOG_SETUP("vespalib_util_gtest_runner"); | ||
|
||
GTEST_MAIN_RUN_ALL_TESTS() |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.