mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 08:34:39 +08:00
added tests
This commit is contained in:
Vendored
+4
-1
@@ -111,6 +111,10 @@ if (PHMAP_BUILD_TESTS)
|
||||
phmap_cc_test(NAME parallel_flat_hash_map_mutex SRCS "tests/parallel_flat_hash_map_mutex_test.cc"
|
||||
COPTS "-DUNORDERED_MAP_CXX17" DEPS gmock_main)
|
||||
|
||||
phmap_cc_test(NAME dump_load SRCS "tests/dump_load_test.cc"
|
||||
COPTS "-DUNORDERED_MAP_CXX17" DEPS gmock_main)
|
||||
|
||||
|
||||
endif()
|
||||
|
||||
if (PHMAP_BUILD_EXAMPLES)
|
||||
@@ -132,7 +136,6 @@ if (PHMAP_BUILD_EXAMPLES)
|
||||
add_executable(ex_insert_bench examples/insert_bench.cc phmap.natvis)
|
||||
add_executable(ex_knucleotide examples/knucleotide.cc phmap.natvis)
|
||||
add_executable(ex_dump_load examples/dump_load.cc phmap.natvis)
|
||||
# add_executable(ex_serialize_compare examples/serialize_compare.cc phmap.natvis)
|
||||
|
||||
target_link_libraries(ex_knucleotide Threads::Threads)
|
||||
target_link_libraries(ex_bench Threads::Threads)
|
||||
|
||||
Reference in New Issue
Block a user