Commit de79f374 authored by Hans Fugal's avatar Hans Fugal Committed by Sara Golemon

Build and run futures tests on OSX

Summary: They don't pass, but they build!

Reviewed By: @jsedgwick

Differential Revision: D2141717
parent cc7a5803
......@@ -25,6 +25,7 @@
#include <algorithm>
#include <atomic>
#include <memory>
#include <numeric>
#include <string>
#include <thread>
#include <type_traits>
......@@ -648,7 +649,7 @@ TEST(Future, CircularDependencySharedPtrSelfReset) {
ptr.reset();
promise.setWith([]{return 1l;});
promise.setValue(1);
}
TEST(Future, Constructor) {
......
......@@ -182,4 +182,34 @@ 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
futures_test_SOURCES = \
../futures/test/CollectTest.cpp \
../futures/test/ContextTest.cpp \
../futures/test/CoreTest.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/SharedPromiseTest.cpp \
../futures/test/ThenCompileTest.cpp \
../futures/test/ThenTest.cpp \
../futures/test/TimekeeperTest.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_LDADD = libgtestmain.la $(top_builddir)/libfolly.la
TESTS += futures_test
check_PROGRAMS += $(TESTS)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment