Add ColdClassTest.cpp to oss builds
authorYedidya Feldblum <yfeldblum@fb.com>
Tue, 2 Jan 2018 00:54:27 +0000 (16:54 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 2 Jan 2018 01:04:40 +0000 (17:04 -0800)
Summary: [Folly] Add `ColdClassTest.cpp` to oss builds.

Reviewed By: spalamarchuk

Differential Revision: D6648831

fbshipit-source-id: f8d8a727d63e4e8b83391db454de990027f1bad4

CMakeLists.txt
folly/test/Makefile.am

index ae6ab6d01dc44e182284260a72a89f402a75ed8d..dd5dff5393447c4a005a9dd06409aa4ae08cbb24 100755 (executable)
@@ -519,6 +519,7 @@ if (BUILD_TESTS)
 
     DIRECTORY lang/test/
       TEST bits_test SOURCES BitsTest.cpp
+      TEST cold_class_test SOURCES ColdClassTest.cpp
 
     DIRECTORY memory/test/
       TEST arena_test SOURCES ArenaTest.cpp
index 9fb035f0edf0ca0e5c5c796d41c8c13f5fe3aaf6..32055e92564190309a925fa138dce412e76ab162 100644 (file)
@@ -146,6 +146,10 @@ timeout_queue_test_SOURCES = TimeoutQueueTest.cpp
 timeout_queue_test_LDADD = libfollytestmain.la
 TESTS += timeout_queue_test
 
+cold_class_test_SOURCES = ../lang/test/ColdClassTest.cpp
+cold_class_test_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la
+TESTS += cold_class_test
+
 conv_test_SOURCES = ConvTest.cpp
 conv_test_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la
 TESTS += conv_test