1 SUBDIRS = . function_benchmark
3 ACLOCAL_AMFLAGS = -I m4
5 CPPFLAGS += -Igtest-1.7.0/include
8 sorted_vector_types_test \
17 check_LTLIBRARIES = libgtestmain.la libgtest.la
20 libgtestmain_la_CPPFLAGS = -Igtest-1.7.0 -Igtest-1.7.0/src
21 libgtestmain_la_SOURCES = gtest-1.7.0/src/gtest-all.cc gtest-1.7.0/src/gtest_main.cc
23 libgtest_la_CPPFLAGS = -Igtest-1.7.0 -Igtest-1.7.0/src
24 libgtest_la_SOURCES = gtest-1.7.0/src/gtest-all.cc
26 noinst_HEADERS = FBStringTestBenchmarks.cpp.h \
27 FBVectorTestBenchmarks.cpp.h
29 spin_lock_test_SOURCES = SpinLockTest.cpp
30 spin_lock_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
31 TESTS += spin_lock_test
34 small_locks_test_SOURCES = SmallLocksTest.cpp
35 small_locks_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
36 TESTS += small_locks_test
38 # Fails with WARNING: Logging before InitGoogleLogging() is written to STDERR
39 packed_sync_ptr_test_SOURCES = PackedSyncPtrTest.cpp
40 packed_sync_ptr_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
41 TESTS += packed_sync_ptr_test
43 small_vector_test_SOURCES = small_vector_test.cpp
44 small_vector_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
45 TESTS += small_vector_test
47 discriminated_ptr_test_SOURCES = DiscriminatedPtrTest.cpp
48 discriminated_ptr_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
49 TESTS += discriminated_ptr_test
51 cpuid_test_SOURCES = CpuIdTest.cpp
52 cpuid_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
56 sorted_vector_types_test_SOURCES = sorted_vector_test.cpp
57 sorted_vector_types_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
60 foreach_test_SOURCES = ForeachTest.cpp
61 foreach_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
63 hash_test_SOURCES = HashTest.cpp
64 hash_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
67 fbstring_test_using_jemalloc_SOURCES = FBStringTest.cpp
68 fbstring_test_using_jemalloc_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
69 TESTS += fbstring_test_using_jemalloc
71 thread_cached_int_test_SOURCES = ThreadCachedIntTest.cpp
72 thread_cached_int_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
74 thread_local_test_SOURCES = ThreadLocalTest.cpp
75 thread_local_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
77 TESTS += thread_cached_int_test thread_local_test
79 fbvector_test_SOURCES = FBVectorTest.cpp
80 fbvector_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
81 TESTS += fbvector_test
84 dynamic_test_SOURCES = DynamicTest.cpp
85 dynamic_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la $(top_builddir)/libfolly.la
89 json_test_SOURCES = JsonTest.cpp
90 json_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la $(top_builddir)/libfolly.la
93 benchmark_test_SOURCES = BenchmarkTest.cpp
94 benchmark_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
95 check_PROGRAMS += benchmark_test
97 # fails due to destructor
98 scope_guard_test_SOURCES = ScopeGuardTest.cpp
99 scope_guard_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
100 TESTS += scope_guard_test
102 timeout_queue_test_SOURCES = TimeoutQueueTest.cpp
103 timeout_queue_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
105 conv_test_SOURCES = ConvTest.cpp
106 conv_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
108 range_test_SOURCES = RangeTest.cpp
109 range_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
111 bits_test_SOURCES = BitsTest.cpp
112 bits_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
114 bit_iterator_test_SOURCES = BitIteratorTest.cpp
115 bit_iterator_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
117 endian_test_SOURCES = EndianTest.cpp
118 endian_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
121 rw_spinlock_test_SOURCES = RWSpinLockTest.cpp
122 rw_spinlock_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
123 TESTS += rw_spinlock_test
125 synchronized_test_SOURCES = SynchronizedTest.cpp
126 synchronized_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
127 TESTS += synchronized_test
129 concurrent_skiplist_test_SOURCES = ConcurrentSkipListTest.cpp
130 concurrent_skiplist_test_LDADD = libgtest.la $(top_builddir)/libfolly.la
131 TESTS += concurrent_skiplist_test
133 concurrent_skiplist_benchmark_SOURCES = ConcurrentSkipListBenchmark.cpp
134 concurrent_skiplist_benchmark_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la
135 check_PROGRAMS += concurrent_skiplist_benchmark
137 histogram_test_SOURCES = HistogramTest.cpp
138 histogram_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
139 TESTS += histogram_test
141 group_varint_test_SOURCES = GroupVarintTest.cpp
142 group_varint_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
143 TESTS += group_varint_test
145 map_util_test_SOURCES = MapUtilTest.cpp
146 map_util_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
147 TESTS += map_util_test
149 string_test_SOURCES = StringTest.cpp
150 string_test_LDADD = libgtest.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
153 producer_consumer_queue_test_SOURCES = ProducerConsumerQueueTest.cpp
154 producer_consumer_queue_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
155 TESTS += producer_consumer_queue_test
157 atomic_hash_array_test_SOURCES = AtomicHashArrayTest.cpp
158 atomic_hash_array_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
159 TESTS += atomic_hash_array_test
161 atomic_hash_map_test_SOURCES = AtomicHashMapTest.cpp
162 atomic_hash_map_test_LDADD = libgtest.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
163 TESTS += atomic_hash_map_test
165 format_test_SOURCES = FormatTest.cpp
166 format_test_LDADD = libgtest.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
169 fingerprint_test_SOURCES = FingerprintTest.cpp
170 fingerprint_test_LDADD = libgtest.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
171 TESTS += fingerprint_test
173 portability_test_SOURCES = PortabilityTest.cpp
174 portability_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
175 TESTS += portability_test
177 spooky_hash_v1_test_SOURCES = SpookyHashV1Test.cpp
178 spooky_hash_v1_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
179 TESTS += spooky_hash_v1_test
181 spooky_hash_v2_test_SOURCES = SpookyHashV2Test.cpp
182 spooky_hash_v2_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la
183 TESTS += spooky_hash_v2_test
185 check_PROGRAMS += $(TESTS)