| SUBDIRS = . function_benchmark |
| |
| ACLOCAL_AMFLAGS = -I m4 |
| |
| CPPFLAGS += -Igtest-1.7.0/include |
| |
| TESTS= \ |
| foreach_test \ |
| hash_test \ |
| conv_test \ |
| range_test \ |
| bits_test \ |
| bit_iterator_test |
| |
| check_LTLIBRARIES = libgtestmain.la libgtest.la |
| check_PROGRAMS = |
| |
| libgtestmain_la_CPPFLAGS = -Igtest-1.7.0 -Igtest-1.7.0/src |
| libgtestmain_la_SOURCES = gtest-1.7.0/src/gtest-all.cc gtest-1.7.0/src/gtest_main.cc |
| |
| libgtest_la_CPPFLAGS = -Igtest-1.7.0 -Igtest-1.7.0/src |
| libgtest_la_SOURCES = gtest-1.7.0/src/gtest-all.cc |
| |
| noinst_HEADERS = FBStringTestBenchmarks.cpp.h \ |
| FBVectorTestBenchmarks.cpp.h |
| |
| foreach_test_SOURCES = ForeachTest.cpp |
| foreach_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| |
| hash_test_SOURCES = HashTest.cpp |
| hash_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| |
| |
| fbstring_test_using_jemalloc_SOURCES = FBStringTest.cpp |
| fbstring_test_using_jemalloc_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| TESTS += fbstring_test_using_jemalloc |
| |
| thread_cached_int_test_SOURCES = ThreadCachedIntTest.cpp |
| thread_cached_int_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| |
| thread_local_test_SOURCES = ThreadLocalTest.cpp |
| thread_local_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| |
| TESTS += thread_cached_int_test thread_local_test |
| |
| fbvector_test_SOURCES = FBVectorTest.cpp |
| fbvector_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| TESTS += fbvector_test |
| |
| # fails due to cout |
| dynamic_test_SOURCES = DynamicTest.cpp |
| dynamic_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la $(top_builddir)/libfolly.la |
| TESTS += dynamic_test |
| |
| benchmark_test_SOURCES = BenchmarkTest.cpp |
| benchmark_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| check_PROGRAMS += benchmark_test |
| |
| # fails due to destructor |
| scope_guard_test_SOURCES = ScopeGuardTest.cpp |
| scope_guard_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| TESTS += scope_guard_test |
| |
| conv_test_SOURCES = ConvTest.cpp |
| conv_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| |
| range_test_SOURCES = RangeTest.cpp |
| range_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| |
| bits_test_SOURCES = BitsTest.cpp |
| bits_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| |
| bit_iterator_test_SOURCES = BitIteratorTest.cpp |
| bit_iterator_test_LDADD = libgtestmain.la $(top_builddir)/libfollybenchmark.la $(top_builddir)/libfolly.la |
| |
| endian_test_SOURCES = EndianTest.cpp |
| endian_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| TESTS += endian_test |
| |
| histogram_test_SOURCES = HistogramTest.cpp |
| histogram_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| TESTS += histogram_test |
| |
| map_util_test_SOURCES = MapUtilTest.cpp |
| map_util_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| TESTS += map_util_test |
| |
| string_test_SOURCES = StringTest.cpp |
| string_test_LDADD = libgtest.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la |
| TESTS += string_test |
| |
| format_test_SOURCES = FormatTest.cpp |
| format_test_LDADD = libgtest.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la |
| TESTS += format_test |
| |
| portability_test_SOURCES = PortabilityTest.cpp |
| portability_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| TESTS += portability_test |
| |
| spooky_hash_v1_test_SOURCES = SpookyHashV1Test.cpp |
| spooky_hash_v1_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la |
| TESTS += spooky_hash_v1_test |
| |
| spooky_hash_v2_test_SOURCES = SpookyHashV2Test.cpp |
| spooky_hash_v2_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la |
| TESTS += spooky_hash_v2_test |
| |
| cancellation_test_SOURCES = CancellationTest.cpp |
| cancellation_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| TESTS += cancellation_test |
| |
| token_bucket_test_SOURCES = TokenBucketTest.cpp |
| token_bucket_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la $(top_builddir)/libfollybenchmark.la |
| TESTS += token_bucket_test |
| |
| futures_test_SOURCES = \ |
| ../futures/test/CancellationTest.cpp \ |
| ../futures/test/CollectTest.cpp \ |
| ../futures/test/ThreadedExecutorTest.cpp \ |
| ../futures/test/EnsureTest.cpp \ |
| ../futures/test/ExecutorTest.cpp \ |
| ../futures/test/FSMTest.cpp \ |
| ../futures/test/FilterTest.cpp \ |
| ../futures/test/FutureTest.cpp \ |
| ../futures/test/HeaderCompileTest.cpp \ |
| ../futures/test/InterruptTest.cpp \ |
| ../futures/test/MapTest.cpp \ |
| ../futures/test/PollTest.cpp \ |
| ../futures/test/PromiseTest.cpp \ |
| ../futures/test/ReduceTest.cpp \ |
| ../futures/test/RetryingTest.cpp \ |
| ../futures/test/SharedPromiseTest.cpp \ |
| ../futures/test/ThenCompileTest.cpp \ |
| ../futures/test/ThenTest.cpp \ |
| ../futures/test/ThreadWheelTimekeeperTest.cpp \ |
| ../futures/test/TimekeeperTest.cpp \ |
| ../futures/test/TimerMapTest.cpp \ |
| ../futures/test/TimesTest.cpp \ |
| ../futures/test/TryTest.cpp \ |
| ../futures/test/UnitTest.cpp \ |
| ../futures/test/UnwrapTest.cpp \ |
| ../futures/test/ViaTest.cpp \ |
| ../futures/test/WaitTest.cpp \ |
| ../futures/test/WillEqualTest.cpp \ |
| ../futures/test/WindowTest.cpp \ |
| ../futures/test/WhenTest.cpp \ |
| ../futures/test/WhileDoTest.cpp |
| |
| futures_test_LDADD = libgtestmain.la $(top_builddir)/libfolly.la |
| TESTS += futures_test |
| |
| check_PROGRAMS += $(TESTS) |