X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2Ftest%2FMakefile.am;h=d11b13d68b09551473f00f6c981d98a3cedf4094;hb=26b139fc3520828f080d459b0f8cbd271cab7a89;hp=e5414567a1d306751b430d5ca311c0836dff2069;hpb=914e877b032b402e31990f80dfef1bf489daf311;p=folly.git diff --git a/folly/test/Makefile.am b/folly/test/Makefile.am index e5414567..d11b13d6 100644 --- a/folly/test/Makefile.am +++ b/folly/test/Makefile.am @@ -16,6 +16,7 @@ TESTS= \ check_LTLIBRARIES = libfollytestmain.la libgtest.la check_PROGRAMS = +noinst_LTLIBRARIES = lib_thread_local_test.la libgtest_la_CPPFLAGS = -Igtest-1.7.0 -Igtest-1.7.0/src libgtest_la_SOURCES = gtest-1.7.0/src/gtest-all.cc @@ -30,6 +31,11 @@ libfollytestmain_la_SOURCES = $(libgtest_la_SOURCES) gtest-1.7.0/src/gtest_main. libfollytestmain_la_LIBADD = $(top_builddir)/libfolly.la endif +lib_thread_local_test_la_CPPFLAGS = $(AM_CPPFLAGS) +lib_thread_local_test_la_SOURCES = ThreadLocalTestLib.cpp +lib_thread_local_test_la_LDFLAGS = -rpath /force_shared +lib_thread_local_test_la_LIBADD = $(top_builddir)/libfolly.la + noinst_HEADERS = FBStringTestBenchmarks.cpp.h \ FBVectorTestBenchmarks.cpp.h @@ -37,6 +43,10 @@ spin_lock_test_SOURCES = SpinLockTest.cpp spin_lock_test_LDADD = libfollytestmain.la TESTS += spin_lock_test +array_test_SOURCES = ArrayTest.cpp +array_test_LDADD = libfollytestmain.la +TESTS += array_test + if RUN_ARCH_SPECIFIC_TESTS small_locks_test_SOURCES = SmallLocksTest.cpp small_locks_test_LDADD = libfollytestmain.la @@ -139,6 +149,10 @@ synchronized_test_SOURCES = SynchronizedTest.cpp synchronized_test_LDADD = libfollytestmain.la TESTS += synchronized_test +lock_traits_test_SOURCES = LockTraitsTest.cpp +lock_traits_test_LDADD = libfollytestmain.la +TESTS += lock_traits_test + concurrent_skiplist_test_SOURCES = ConcurrentSkipListTest.cpp concurrent_skiplist_test_LDADD = libfollytestmain.la TESTS += concurrent_skiplist_test @@ -147,6 +161,10 @@ concurrent_skiplist_benchmark_SOURCES = ConcurrentSkipListBenchmark.cpp concurrent_skiplist_benchmark_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la check_PROGRAMS += concurrent_skiplist_benchmark +conv_benchmark_SOURCES = ConvBenchmark.cpp +conv_benchmark_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la +check_PROGRAMS += conv_benchmark + histogram_test_SOURCES = HistogramTest.cpp histogram_test_LDADD = libfollytestmain.la TESTS += histogram_test @@ -211,12 +229,23 @@ indestructible_test_SOURCES = IndestructibleTest.cpp indestructible_test_LDADD = libfollytestmain.la TESTS += indestructible_test +portability_time_test_SOURCES = ../portability/test/TimeTest.cpp +portability_time_test_LDADD = libfollytestmain.la +TESTS += portability_time_test + +try_test_SOURCES = TryTest.cpp +try_test_LDADD = libfollytestmain.la +TESTS += try_test + +unit_test_SOURCES = UnitTest.cpp +unit_test_LDADD = libfollytestmain.la +TESTS += unit_test futures_test_SOURCES = \ ../futures/test/CollectTest.cpp \ ../futures/test/ContextTest.cpp \ + ../futures/test/ConversionTest.cpp \ ../futures/test/CoreTest.cpp \ - ../futures/test/ThreadedExecutorTest.cpp \ ../futures/test/EnsureTest.cpp \ ../futures/test/ExecutorTest.cpp \ ../futures/test/FSMTest.cpp \ @@ -225,6 +254,7 @@ futures_test_SOURCES = \ ../futures/test/HeaderCompileTest.cpp \ ../futures/test/InterruptTest.cpp \ ../futures/test/MapTest.cpp \ + ../futures/test/NonCopyableLambdaTest.cpp \ ../futures/test/PollTest.cpp \ ../futures/test/PromiseTest.cpp \ ../futures/test/ReduceTest.cpp \ @@ -235,8 +265,6 @@ futures_test_SOURCES = \ ../futures/test/ThenTest.cpp \ ../futures/test/TimekeeperTest.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 \ @@ -248,4 +276,13 @@ futures_test_SOURCES = \ futures_test_LDADD = libfollytestmain.la TESTS += futures_test +function_test_SOURCES = FunctionTest.cpp +function_test_LDADD = libfollytestmain.la +TESTS += function_test + +ssl_test_SOURCES = \ + ../ssl/test/OpenSSLHashTest.cpp +ssl_test_LDADD = libfollytestmain.la -lcrypto +TESTS += ssl_test + check_PROGRAMS += $(TESTS)