folly/wangle: temporarily disable compilation of Thens.cpp
authorJim Meyering <meyering@fb.com>
Thu, 29 May 2014 20:44:06 +0000 (13:44 -0700)
committerAnton Likhtarov <alikhtarov@fb.com>
Mon, 9 Jun 2014 22:35:08 +0000 (15:35 -0700)
Summary:
This code fails to compile with clang:dev, so don't try for now.
* folly/wangle/test/Thens.cpp: Don't attempt to compile test/Thens.cpp.
See 4412111 for details.  Prompted by clang:dev+MSAN effort, 4090011.

Test Plan:
Run this:
fbconfig --clang --with-project-version clang:dev -r folly/wangle
fbmake runtests
Failed before, passes with this patch.

Reviewed By: hans@fb.com

Subscribers: folly@lists, fugalh

FB internal diff: D1354751

Tasks: 40900114412111

folly/wangle/test/Thens.cpp

index 633c9252ed4fcfc1aaa6ac43d08f709cddd35603..e733922102270556670b3d0dc03f45edc95fff61 100644 (file)
@@ -2,6 +2,9 @@
 
 #include "Thens.h"
 
+#ifndef __clang__
+// TODO: fails to compile with clang:dev.  See task #4412111
+
 TEST(Future, thenVariants) {
   SomeClass anObject;
   Executor* anExecutor;
@@ -17,3 +20,5 @@ TEST(Future, thenVariants) {
   {Future<B> f = someFuture<A>().then(aStdFunction<B, Try<A>&&>());}
   {Future<B> f = someFuture<A>().then([&](Try<A>&&){return B();});}
 }
+
+#endif