Skip to content

Commit 8de6482

Browse files
author
Michael Wilkerson-Barker
authored
Fix benchmark-common-tasks test failures (#6982)
1 parent eb34d4c commit 8de6482

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

test/object-store/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
set(HEADERS
2-
../util/crypt_key.hpp
3-
../util/spawned_process.hpp
4-
../util/test_path.hpp
52
util/event_loop.hpp
63
util/index_helpers.hpp
74
util/test_file.hpp
@@ -32,9 +29,6 @@ set(SOURCES
3229
c_api/c_api.cpp
3330
c_api/c_api.c
3431

35-
../util/crypt_key.cpp
36-
../util/spawned_process.cpp
37-
../util/test_path.cpp
3832
util/event_loop.cpp
3933
util/test_file.cpp
4034
util/test_utils.cpp
@@ -93,7 +87,7 @@ if(MSVC)
9387
target_compile_options(ObjectStoreTests PRIVATE /bigobj)
9488
endif()
9589

96-
target_link_libraries(ObjectStoreTests Catch2::Catch2 ObjectStore RealmFFIStatic)
90+
target_link_libraries(ObjectStoreTests Catch2::Catch2 ObjectStore TestUtil RealmFFIStatic)
9791
enable_stdfilesystem(ObjectStoreTests)
9892
create_coverage_target(generate-coverage ObjectStoreTests)
9993

test/object-store/benchmarks/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ set(SOURCES
1010
object.cpp
1111
results.cpp
1212

13-
../../util/crypt_key.cpp
1413
../util/event_loop.cpp
1514
../util/test_file.cpp
1615
../util/test_utils.cpp
@@ -39,7 +38,7 @@ if(REALM_ENABLE_SYNC)
3938
enable_stdfilesystem(object-store-benchmarks)
4039
endif()
4140

42-
target_link_libraries(object-store-benchmarks ObjectStore Catch2::Catch2)
41+
target_link_libraries(object-store-benchmarks ObjectStore TestUtil Catch2::Catch2)
4342
set_target_properties(object-store-benchmarks PROPERTIES
4443
EXCLUDE_FROM_ALL 1
4544
EXCLUDE_FROM_DEFAULT_BUILD 1)

0 commit comments

Comments
 (0)