summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/test_workarounds.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/support/test_workarounds.h')
-rw-r--r--libcxx/test/support/test_workarounds.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcxx/test/support/test_workarounds.h b/libcxx/test/support/test_workarounds.h
index affdd102594..02982ba20c3 100644
--- a/libcxx/test/support/test_workarounds.h
+++ b/libcxx/test/support/test_workarounds.h
@@ -17,4 +17,12 @@
# define TEST_WORKAROUND_C1XX_BROKEN_NULLPTR_CONVERSION_OPERATOR
#endif
+// FIXME(EricWF): Remove this. This macro guards tests for upcoming changes
+// and fixes to unique_ptr. Until the changes have been implemented in trunk
+// the tests have to be disabled. However the tests have been left in until
+// then so they can be used by other standard libraries.
+#if defined(_LIBCPP_VERSION)
+# define TEST_WORKAROUND_UPCOMING_UNIQUE_PTR_CHANGES
+#endif
+
#endif // SUPPORT_TEST_WORKAROUNDS_H
OpenPOWER on IntegriCloud