[libcxx] r286007 - [libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.

Stephan T. Lavavej via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 4 13:27:02 PDT 2016


Author: stl_msft
Date: Fri Nov  4 15:26:59 2016
New Revision: 286007

URL: http://llvm.org/viewvc/llvm-project?rev=286007&view=rev
Log:
[libcxx] [test] Replace _LIBCPP_STD_VER with TEST_STD_VER.

This replaces every occurrence of _LIBCPP_STD_VER in the tests with
TEST_STD_VER. Additionally, for every affected
file, #include "test_macros.h" is being added explicitly if it wasn't
already there.

https://reviews.llvm.org/D26294

Modified:
    libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp
    libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp
    libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp
    libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp
    libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp
    libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp
    libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp
    libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp
    libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp
    libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp
    libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp
    libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/count.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/find.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp
    libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp
    libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp
    libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp
    libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp
    libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp
    libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp
    libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp
    libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp
    libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp
    libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp
    libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp
    libcxx/trunk/test/std/experimental/optional/optional.nullops/less_equal.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.access/data.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.access/index.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.capacity/capacity.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.cons/default.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_literal.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_char_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_char_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_char_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_char_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/find_string_view_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_char_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_string_view_size.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.iterators/begin.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.iterators/end.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/clear.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_prefix.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_suffix.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/swap.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.nonmem/quoted.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.pointer.pass.cpp
    libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.sv.pass.cpp
    libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
    libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp
    libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp
    libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp
    libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp
    libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/cmplx.over/real.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/complex.members/real_imag.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp
    libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.modifiers/clear.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp
    libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp
    libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp
    libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp
    libcxx/trunk/test/std/utilities/memory/storage.iterator/raw_storage_iterator.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.help/integral_constant.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp
    libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/convert.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/default.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/duration.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp
    libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp
    libcxx/trunk/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp
    libcxx/trunk/test/support/is_transparent.h

Modified: libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.access/iterator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -29,6 +29,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -207,7 +208,7 @@ int main()
         }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::map<int, double> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.cons/iter_iter_comp_alloc.pass.cpp Fri Nov  4 15:26:59 2016
@@ -18,6 +18,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "../../../test_compare.h"
 #include "test_allocator.h"
 #include "min_allocator.h"
@@ -75,7 +76,7 @@ int main()
     assert(*next(m.begin()) == V(2, 1));
     assert(*next(m.begin(), 2) == V(3, 1));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     V ar[] =

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -98,7 +99,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::map<int, double, std::less <>> M;

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().count(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().count(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/count3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().count(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -297,7 +298,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::map<int, double, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().equal_range(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().equal_range(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/equal_range3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().equal_range(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -165,7 +166,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::map<int, double, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().find(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().find(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/find3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().find(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -229,7 +230,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::map<int, double, std::less <>> M;

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/lower_bound3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -228,7 +229,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::map<int, double, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/map/map.ops/upper_bound3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/iterator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -29,6 +29,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -211,7 +212,7 @@ int main()
             }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::multimap<int, double> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.cons/iter_iter.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -76,7 +77,7 @@ int main()
     assert(*next(m.begin(), 7) == V(3, 1.5));
     assert(*next(m.begin(), 8) == V(3, 2));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     V ar[] =

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -92,7 +93,7 @@ int main()
     }
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::multimap<int, double, std::less<>> M;
     typedef M::size_type R;

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -34,4 +35,4 @@ int main()
 
     M().count(C2Int{5});
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -34,4 +35,4 @@ int main()
 
     M().count(C2Int{5});
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/count3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -34,4 +35,4 @@ int main()
 
     M().count(C2Int{5});
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -180,7 +181,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::multimap<int, double, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -34,4 +35,4 @@ int main()
 
     M().equal_range(C2Int{5});
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().equal_range(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/equal_range3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().equal_range(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -144,7 +145,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::multimap<int, double, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().find(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().find(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/find3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 
@@ -36,4 +37,4 @@ int main()
     M().find(C2Int{5});
     }
 }
-#endif
\ No newline at end of file
+#endif

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -152,7 +153,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::multimap<int, double, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/lower_bound3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 #include "is_transparent.h"
@@ -152,7 +153,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::pair<const int, double> V;
     typedef std::multimap<int, double, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound1.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound2.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multimap/multimap.ops/upper_bound3.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,10 @@
 #include <map>
 #include <cassert>
 
+#include "test_macros.h"
 #include "is_transparent.h"
 
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
 #error "This test requires is C++14 (or later)"
 #else
 

Modified: libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/count.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -91,7 +92,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::multiset<int, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/equal_range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -180,7 +181,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::multiset<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/find.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -164,7 +165,7 @@ int main()
         }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::multiset<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/iterator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -29,6 +29,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -195,7 +196,7 @@ int main()
                 assert(*i == j);
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::multiset<int> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/lower_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -152,7 +153,7 @@ int main()
         }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::multiset<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/initializer_list.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -51,7 +52,7 @@ int main()
     assert(*++i == V(5));
     assert(*++i == V(6));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::multiset<int, std::less<int>, min_allocator<int>> C;
     typedef C::value_type V;

Modified: libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/multiset.cons/iter_iter_alloc.pass.cpp Fri Nov  4 15:26:59 2016
@@ -18,6 +18,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "test_iterators.h"
 #include "../../../test_compare.h"
 #include "test_allocator.h"
@@ -57,7 +58,7 @@ int main()
     assert(*next(m.begin(), 7) == 3);
     assert(*next(m.begin(), 8) == 3);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     V ar[] =

Modified: libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/multiset/upper_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -152,7 +153,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::multiset<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/set/count.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/count.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/count.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/count.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -93,7 +94,7 @@ int main()
         assert(r == 0);
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef int V;
         typedef std::set<int, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/equal_range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -228,7 +229,7 @@ int main()
     assert(r.second == next(m.begin(), 8));
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::set<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/set/find.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/find.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/find.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/find.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -164,7 +165,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::set<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/iterator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -29,6 +29,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -191,7 +192,7 @@ int main()
             assert(*i == j);
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::set<int> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/lower_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -228,7 +229,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::set<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/initializer_list_compare_alloc.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 
 #include <set>
 #include <cassert>
+#include "test_macros.h"
 #include "../../../test_compare.h"
 #include "test_allocator.h"
 
@@ -40,7 +41,7 @@ int main()
     assert(m.key_comp() == Cmp(10));
     assert(m.get_allocator() == A(4));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef test_compare<std::less<int> > Cmp;
     typedef test_allocator<int> A;

Modified: libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/set.cons/iter_iter_alloc.pass.cpp Fri Nov  4 15:26:59 2016
@@ -22,6 +22,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "test_iterators.h"
 #include "../../../test_compare.h"
 #include "test_allocator.h"
@@ -55,7 +56,7 @@ int main()
     assert(*next(m.begin()) == 2);
     assert(*next(m.begin(), 2) == 3);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     V ar[] =

Modified: libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/associative/set/upper_bound.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 #include "private_constructor.hpp"
 
@@ -228,7 +229,7 @@ int main()
     }
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef int V;
     typedef std::set<V, std::less<>> M;

Modified: libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/array/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <iterator>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -36,7 +38,7 @@ int main()
     assert(i == j);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         {
         typedef std::array<int, 5> C;

Modified: libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/deque.cons/size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <deque>
 #include <cassert>
 
+#include "test_macros.h"
 #include "test_allocator.h"
 #include "DefaultOnly.h"
 #include "min_allocator.h"
@@ -22,7 +23,7 @@ template <class T, class Allocator>
 void
 test2(unsigned n)
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::deque<T, Allocator> C;
     typedef typename C::const_iterator const_iterator;
     assert(DefaultOnly::count == 0);
@@ -64,7 +65,7 @@ template <class T, class Allocator>
 void
 test3(unsigned n, Allocator const &alloc = Allocator())
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::deque<T, Allocator> C;
     typedef typename C::const_iterator const_iterator;
     {
@@ -104,7 +105,7 @@ int main()
     test<DefaultOnly, min_allocator<DefaultOnly> >(4095);
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     test3<DefaultOnly, std::allocator<DefaultOnly>> (1023);
     test3<int, std::allocator<int>>(1);
     test3<int, min_allocator<int>> (3);

Modified: libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/deque/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <iterator>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -44,7 +45,7 @@ int main()
     assert(i == j);
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         std::deque<int>::iterator ii1{}, ii2{};
         std::deque<int>::iterator ii4 = ii1;

Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.cons/size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,13 +15,14 @@
 #include <forward_list>
 #include <cassert>
 
+#include "test_macros.h"
 #include "DefaultOnly.h"
 #include "min_allocator.h"
 
 template <class T, class Allocator>
 void check_allocator(unsigned n, Allocator const &alloc = Allocator())
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::forward_list<T, Allocator> C;
     C d(n, alloc);
     assert(d.get_allocator() == alloc);

Modified: libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/forwardlist/forwardlist.iter/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <iterator>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -120,7 +121,7 @@ int main()
         C::const_iterator j;
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         std::forward_list<int>::iterator ii1{}, ii2{};
         std::forward_list<int>::iterator ii4 = ii1;

Modified: libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <iterator>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 struct A
@@ -135,7 +136,7 @@ int main()
         assert(j->first == 3);
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         std::list<int> c;
         std::list<int>::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/list/list.cons/size_type.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 
 #include <list>
 #include <cassert>
+#include "test_macros.h"
 #include "DefaultOnly.h"
 #include "test_allocator.h"
 #include "min_allocator.h"
@@ -21,7 +22,7 @@ template <class T, class Allocator>
 void
 test3(unsigned n, Allocator const &alloc = Allocator())
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::list<T, Allocator> C;
     typedef typename C::const_iterator const_iterator;
     {
@@ -59,7 +60,7 @@ int main()
         ++i;
         assert(*i == 0);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::list<int, min_allocator<int> > C;
         C l(3, min_allocator<int> ());

Modified: libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector.bool/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <iterator>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -94,7 +95,7 @@ int main()
         C::const_iterator j;
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         std::vector<bool>::iterator ii1{}, ii2{};
         std::vector<bool>::iterator ii4 = ii1;

Modified: libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <iterator>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 struct A
@@ -135,7 +136,7 @@ int main()
         assert(j->first == 3);
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::vector<int> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -24,6 +24,7 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -108,7 +109,7 @@ int main()
         C::const_iterator i;
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::unordered_map<int,double> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/init.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "../../../test_compare.h"
 #include "../../../test_hash.h"
 #include "test_allocator.h"
@@ -91,7 +92,7 @@ int main()
         assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::pair<int, std::string> P;
         typedef test_allocator<std::pair<const int, std::string>> A;

Modified: libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.map/unord.map.cnstr/range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -21,6 +21,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "test_iterators.h"
 #include "../../../NotConstructible.h"
 #include "../../../test_compare.h"
@@ -97,7 +98,7 @@ int main()
         assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::pair<int, std::string> P;
         typedef test_allocator<std::pair<const int, std::string>> A;

Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -24,6 +24,7 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -114,7 +115,7 @@ int main()
         C::const_iterator i;
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::unordered_multimap<int,double> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/allocator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -84,7 +84,7 @@ int main()
         assert(c.load_factor() == 0);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef NotConstructible T;
         typedef test_allocator<std::pair<const T, T>> A;

Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/init.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "../../../test_compare.h"
 #include "../../../test_hash.h"
 #include "test_allocator.h"
@@ -135,7 +136,7 @@ int main()
         assert(c.key_eq() == test_compare<std::equal_to<int> >());
         assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::pair<int, std::string> P;
         typedef test_allocator<std::pair<const int, std::string>> A;

Modified: libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multimap/unord.multimap.cnstr/range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -21,6 +21,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "test_iterators.h"
 #include "../../../NotConstructible.h"
 #include "../../../test_compare.h"
@@ -141,7 +142,7 @@ int main()
         assert(c.key_eq() == test_compare<std::equal_to<int> >());
         assert((c.get_allocator() == min_allocator<std::pair<const int, std::string> >()));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::pair<int, std::string> P;
         typedef test_allocator<std::pair<const int, std::string>> A;

Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -23,6 +23,7 @@
 #include <unordered_set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -107,7 +108,7 @@ int main()
         C::const_iterator i;
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::unordered_multiset<int> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/allocator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -62,7 +62,7 @@ int main()
         assert(c.load_factor() == 0);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef NotConstructible T;
         typedef test_hash<std::hash<T>> HF;

Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/init.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,6 +19,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "../../../test_compare.h"
 #include "../../../test_hash.h"
 #include "test_allocator.h"
@@ -88,7 +89,7 @@ int main()
         assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef int T;
         typedef test_hash<std::hash<T>> HF;

Modified: libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.multiset/unord.multiset.cnstr/range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "test_iterators.h"
 #include "../../../test_compare.h"
 #include "../../../test_hash.h"
@@ -93,7 +94,7 @@ int main()
         assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef int T;
         typedef test_hash<std::hash<T>> HF;

Modified: libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/iterators.pass.cpp Fri Nov  4 15:26:59 2016
@@ -23,6 +23,7 @@
 #include <unordered_set>
 #include <cassert>
 
+#include "test_macros.h"
 #include "min_allocator.h"
 
 int main()
@@ -107,7 +108,7 @@ int main()
         C::const_iterator i;
     }
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // N3644 testing
         typedef std::unordered_set<int> C;
         C::iterator ii1{}, ii2{};

Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/allocator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -62,7 +62,7 @@ int main()
         assert(c.load_factor() == 0);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef NotConstructible T;
         typedef test_hash<std::hash<T>> HF;

Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/init.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,6 +19,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "../../../test_compare.h"
 #include "../../../test_hash.h"
 #include "test_allocator.h"
@@ -88,7 +89,7 @@ int main()
         assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef int T;
         typedef test_hash<std::hash<T>> HF;

Modified: libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/unord/unord.set/unord.set.cnstr/range.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,7 @@
 #include <cassert>
 #include <cfloat>
 
+#include "test_macros.h"
 #include "test_iterators.h"
 #include "../../../test_compare.h"
 #include "../../../test_hash.h"
@@ -93,7 +94,7 @@ int main()
         assert(fabs(c.load_factor() - (float)c.size()/c.bucket_count()) < FLT_EPSILON);
         assert(c.max_load_factor() == 1);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef int T;
         typedef test_hash<std::hash<T>> HF;

Modified: libcxx/trunk/test/std/experimental/optional/optional.nullops/less_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/optional/optional.nullops/less_equal.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/optional/optional.nullops/less_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/optional/optional.nullops/less_equal.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,9 +15,11 @@
 
 #include <experimental/optional>
 
+#include "test_macros.h"
+
 int main()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     using std::experimental::optional;
     using std::experimental::nullopt_t;
     using std::experimental::nullopt;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.access/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.access/data.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.access/data.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.access/data.pass.cpp Fri Nov  4 15:26:59 2016
@@ -39,7 +39,7 @@ int main () {
     test ( U"a", 1 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char *s = "ABC";
     constexpr std::experimental::basic_string_view<char> sv( s, 2 );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.access/index.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.access/index.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.access/index.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.access/index.pass.cpp Fri Nov  4 15:26:59 2016
@@ -42,7 +42,7 @@ int main () {
     test ( U"a", 1 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::experimental::basic_string_view<char> sv ( "ABC", 2 );
     static_assert ( sv.length() ==  2,  "" );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.capacity/capacity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.capacity/capacity.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.capacity/capacity.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.capacity/capacity.pass.cpp Fri Nov  4 15:26:59 2016
@@ -23,7 +23,7 @@
 
 template<typename SV>
 void test1 () {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr SV sv1;
     static_assert ( sv1.size() == 0, "" );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.cons/default.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.cons/default.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,9 +15,11 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
+
 template<typename T>
 void test () {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr T sv1;
     static_assert ( sv1.size() == 0, "" );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_literal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_literal.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_literal.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_literal.pass.cpp Fri Nov  4 15:26:59 2016
@@ -18,6 +18,7 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template<typename CharT>
@@ -55,7 +56,7 @@ int main () {
     test ( U"" );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::experimental::basic_string_view<char, constexpr_char_traits<char>> sv1 ( "ABCDE" );
     static_assert ( sv1.size() == 5, "");

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.cons/from_ptr_len.pass.cpp Fri Nov  4 15:26:59 2016
@@ -34,7 +34,7 @@ int main () {
     test ( "QBCDE", 5 );
     test ( "QBCDE", 2 );
     test ( "", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char *s = "QBCDE";
     constexpr std::experimental::basic_string_view<char> sv1 ( s, 2 );
@@ -46,7 +46,7 @@ int main () {
     test ( L"QBCDE", 5 );
     test ( L"QBCDE", 2 );
     test ( L"", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const wchar_t *s = L"QBCDE";
     constexpr std::experimental::basic_string_view<wchar_t> sv1 ( s, 2 );
@@ -59,7 +59,7 @@ int main () {
     test ( u"QBCDE", 5 );
     test ( u"QBCDE", 2 );
     test ( u"", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char16_t *s = u"QBCDE";
     constexpr std::experimental::basic_string_view<char16_t> sv1 ( s, 2 );
@@ -71,7 +71,7 @@ int main () {
     test ( U"QBCDE", 5 );
     test ( U"QBCDE", 2 );
     test ( U"", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char32_t *s = U"QBCDE";
     constexpr std::experimental::basic_string_view<char32_t> sv1 ( s, 2 );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("abcdeabcdeabcdeabcde"), 'c', 2);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -68,7 +69,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'q', 0);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'e', 2);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'i', 19);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'm', 15);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -155,7 +156,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/find_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/find_string_view_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/find_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/find_string_view_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -148,7 +149,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -65,7 +66,7 @@ int main()
     test(S("abcdeabcdeabcdeabcde"), 'b', 16);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -155,7 +156,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -375,7 +376,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_string_view_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.find/rfind_string_view_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -148,7 +149,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.iterators/begin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.iterators/begin.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.iterators/begin.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.iterators/begin.pass.cpp Fri Nov  4 15:26:59 2016
@@ -58,7 +58,7 @@ int main()
     test(u32string_view{U"123"});
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr string_view       sv { "123", 3 };
     constexpr u16string_view u16sv {u"123", 3 };

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.iterators/end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.iterators/end.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.iterators/end.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.iterators/end.pass.cpp Fri Nov  4 15:26:59 2016
@@ -66,7 +66,7 @@ int main()
     test(u32string_view{U"123"});
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr string_view       sv { "123", 3 };
     constexpr u16string_view u16sv {u"123", 3 };

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/clear.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/clear.pass.cpp Fri Nov  4 15:26:59 2016
@@ -32,7 +32,7 @@ void test ( const CharT *s, size_t len )
     }
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n ) {
     typedef std::experimental::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -60,7 +60,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert ( test_ce (5) == 0, "" );
 #endif
 

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_prefix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_prefix.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_prefix.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_prefix.pass.cpp Fri Nov  4 15:26:59 2016
@@ -39,7 +39,7 @@ void test ( const CharT *s, size_t len )
     }
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n, size_t k ) {
     typedef std::experimental::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -67,7 +67,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     static_assert ( test_ce ( 5, 0 ) == 5, "" );
     static_assert ( test_ce ( 5, 1 ) == 4, "" );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_suffix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_suffix.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_suffix.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/remove_suffix.pass.cpp Fri Nov  4 15:26:59 2016
@@ -39,7 +39,7 @@ void test ( const CharT *s, size_t len )
 
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n, size_t k ) {
     typedef std::experimental::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -67,7 +67,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     static_assert ( test_ce ( 5, 0 ) == 5, "" );
     static_assert ( test_ce ( 5, 1 ) == 4, "" );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/swap.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.modifiers/swap.pass.cpp Fri Nov  4 15:26:59 2016
@@ -36,7 +36,7 @@ void test ( const CharT *s, size_t len )
 
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n, size_t k ) {
     typedef std::experimental::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -66,7 +66,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     static_assert ( test_ce (2, 3) == 3, "" );
     static_assert ( test_ce (5, 3) == 3, "" );

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.nonmem/quoted.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.nonmem/quoted.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.nonmem/quoted.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.nonmem/quoted.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,7 +16,9 @@
 #include <experimental/string_view>
 #include <cassert>
 
-#if _LIBCPP_STD_VER > 11
+#include "test_macros.h"
+
+#if TEST_STD_VER > 11
 // quoted is C++14 only
 
 bool is_skipws ( const std::istream *is ) {

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 int sign ( int x ) { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); }
@@ -112,7 +113,7 @@ int main()
     }
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.sv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.sv.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.sv.pass.cpp (original)
+++ libcxx/trunk/test/std/experimental/string.view/string.view.ops/compare.sv.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <experimental/string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 int sign ( int x ) { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); }
@@ -106,7 +107,7 @@ int main () {
     test(U"abcdefghijklmnopqrst", U"abcdefghijklmnopqrst", 0);
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::experimental::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1 { "abcde", 5 };

Modified: libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp (original)
+++ libcxx/trunk/test/std/input.output/file.streams/c.files/cstdio.pass.cpp Fri Nov  4 15:26:59 2016
@@ -12,6 +12,8 @@
 #include <cstdio>
 #include <type_traits>
 
+#include "test_macros.h"
+
 #ifndef BUFSIZ
 #error BUFSIZ not defined
 #endif
@@ -140,7 +142,7 @@ int main()
 
 #ifndef _LIBCPP_HAS_NO_STDIN
     static_assert((std::is_same<decltype(std::getchar()), int>::value), "");
-#if _LIBCPP_STD_VER <= 11
+#if TEST_STD_VER <= 11
     static_assert((std::is_same<decltype(std::gets(cp)), char*>::value), "");
 #endif
     static_assert((std::is_same<decltype(std::scanf(" ")), int>::value), "");

Modified: libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp (original)
+++ libcxx/trunk/test/std/iterators/iterator.range/begin-end.pass.cpp Fri Nov  4 15:26:59 2016
@@ -32,7 +32,7 @@ void test_const_container( const C & c,
     assert (*std::begin(c)   ==  val );
     assert ( std::begin(c)   != c.end());
     assert ( std::end(c)     == c.end());
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     assert ( std::cbegin(c)  == c.cbegin());
     assert ( std::cbegin(c)  != c.cend());
     assert ( std::cend(c)    == c.cend());
@@ -51,7 +51,7 @@ void test_const_container( const std::in
     assert (*std::begin(c)   ==  val );
     assert ( std::begin(c)   != c.end());
     assert ( std::end(c)     == c.end());
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 //  initializer_list doesn't have cbegin/cend/rbegin/rend
 //  but std::cbegin(),etc work (b/c they're general fn templates)
 //     assert ( std::cbegin(c)  == c.cbegin());
@@ -72,7 +72,7 @@ void test_container( C & c, typename C::
     assert (*std::begin(c)   ==  val );
     assert ( std::begin(c)   != c.end());
     assert ( std::end(c)     == c.end());
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     assert ( std::cbegin(c)  == c.cbegin());
     assert ( std::cbegin(c)  != c.cend());
     assert ( std::cend(c)    == c.cend());
@@ -91,7 +91,7 @@ void test_container( std::initializer_li
     assert (*std::begin(c)   ==  val );
     assert ( std::begin(c)   != c.end());
     assert ( std::end(c)     == c.end());
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 //  initializer_list doesn't have cbegin/cend/rbegin/rend
 //     assert ( std::cbegin(c)  == c.cbegin());
 //     assert ( std::cbegin(c)  != c.cend());
@@ -111,7 +111,7 @@ void test_const_array( const T (&array)[
     assert (*std::begin(array)  ==  array[0] );
     assert ( std::begin(array)  != std::end(array));
     assert ( std::end(array)    == array + Sz);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     assert ( std::cbegin(array) == array );
     assert (*std::cbegin(array) == array[0] );
     assert ( std::cbegin(array) != std::cend(array));
@@ -137,7 +137,7 @@ int main(){
 
     static constexpr int arrA [] { 1, 2, 3 };
     test_const_array ( arrA );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr const int *b = std::cbegin(arrA);
     constexpr const int *e = std::cend(arrA);
     static_assert(e - b == 3, "");

Modified: libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/support.initlist.access/access.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,8 @@
 #include <initializer_list>
 #include <cassert>
 
+#include "test_macros.h"
+
 #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
 
 struct A
@@ -32,7 +34,7 @@ struct A
     }
 };
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 struct B
 {
     constexpr B(std::initializer_list<int> il)
@@ -47,7 +49,7 @@ struct B
     }
 };
 
-#endif  // _LIBCPP_STD_VER > 11
+#endif  // TEST_STD_VER > 11
 
 #endif  // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
 
@@ -56,7 +58,7 @@ int main()
 #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
     A test1 = {3, 2, 1};
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr B test2 = {3, 2, 1};
-#endif  // _LIBCPP_STD_VER > 11
+#endif  // TEST_STD_VER > 11
 }

Modified: libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/support.initlist.cons/default.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,8 @@
 #include <initializer_list>
 #include <cassert>
 
+#include "test_macros.h"
+
 struct A {};
 
 int main()
@@ -22,8 +24,8 @@ int main()
     std::initializer_list<A> il;
     assert(il.size() == 0);
 #endif  // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr std::initializer_list<A> il2;
     static_assert(il2.size() == 0, "");
-#endif  // _LIBCPP_STD_VER > 11
+#endif  // TEST_STD_VER > 11
 }

Modified: libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.initlist/support.initlist.range/begin_end.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,8 @@
 #include <initializer_list>
 #include <cassert>
 
+#include "test_macros.h"
+
 #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
 
 struct A
@@ -30,7 +32,7 @@ struct A
     }
 };
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 struct B
 {
     constexpr B(std::initializer_list<int> il)
@@ -45,7 +47,7 @@ struct B
     }
 };
 
-#endif  // _LIBCPP_STD_VER > 11
+#endif  // TEST_STD_VER > 11
 #endif  // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
 
 int main()
@@ -53,7 +55,7 @@ int main()
 #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
     A test1 = {3, 2, 1};
 #endif
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr B test2 = {3, 2, 1};
-#endif  // _LIBCPP_STD_VER > 11
+#endif  // TEST_STD_VER > 11
 }

Modified: libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,12 +19,13 @@
 #include <sstream>
 #include <cassert>
 
+#include "test_macros.h"
 #include "count_new.hpp"
 
 int main()
 {
     typedef std::wbuffer_convert<std::codecvt_utf8<wchar_t> > B;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(!std::is_convertible<std::streambuf*, B>::value, "");
     static_assert( std::is_constructible<B, std::streambuf*>::value, "");
 #endif

Modified: libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_codecvt.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,8 @@
 #include <codecvt>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -30,7 +32,7 @@ int main()
         typedef std::wstring_convert<Codecvt> Myconv;
         Myconv myconv(new Codecvt);
         assert(myconv.converted() == 0);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
         static_assert(!std::is_convertible<Codecvt*, Myconv>::value, "");
         static_assert( std::is_constructible<Myconv, Codecvt*>::value, "");
 #endif

Modified: libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp (original)
+++ libcxx/trunk/test/std/localization/locales/locale.convenience/conversions/conversions.string/ctor_err_string.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,11 +19,13 @@
 #include <codecvt>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::codecvt_utf8<wchar_t> Codecvt;
     typedef std::wstring_convert<Codecvt> Myconv;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(!std::is_convertible<std::string, Myconv>::value, "");
     static_assert( std::is_constructible<Myconv, std::string>::value, "");
 #endif

Modified: libcxx/trunk/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/cmplx.over/imag.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
 #include "../cases.h"
 
 template <class T, int x>
@@ -25,7 +26,7 @@ test(typename std::enable_if<std::is_int
 {
     static_assert((std::is_same<decltype(std::imag(T(x))), double>::value), "");
     assert(std::imag(x) == 0);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr T val {x};
     static_assert(std::imag(val) == 0, "");
     constexpr std::complex<T> t{val, val};
@@ -39,7 +40,7 @@ test(typename std::enable_if<!std::is_in
 {
     static_assert((std::is_same<decltype(std::imag(T(x))), T>::value), "");
     assert(std::imag(x) == 0);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr T val {x};
     static_assert(std::imag(val) == 0, "");
     constexpr std::complex<T> t{val, val};

Modified: libcxx/trunk/test/std/numerics/complex.number/cmplx.over/real.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/cmplx.over/real.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/cmplx.over/real.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/cmplx.over/real.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
 #include "../cases.h"
 
 template <class T, int x>
@@ -25,7 +26,7 @@ test(typename std::enable_if<std::is_int
 {
     static_assert((std::is_same<decltype(std::real(T(x))), double>::value), "");
     assert(std::real(x) == x);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr T val {x};
     static_assert(std::real(val) == val, "");
     constexpr std::complex<T> t{val, val};
@@ -39,7 +40,7 @@ test(typename std::enable_if<!std::is_in
 {
     static_assert((std::is_same<decltype(std::real(T(x))), T>::value), "");
     assert(std::real(x) == x);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr T val {x};
     static_assert(std::real(val) == val, "");
     constexpr std::complex<T> t{val, val};

Modified: libcxx/trunk/test/std/numerics/complex.number/complex.members/real_imag.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/complex.members/real_imag.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/complex.members/real_imag.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/complex.members/real_imag.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,11 +15,13 @@
 #include <complex>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class T>
 void
 test_constexpr()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     constexpr std::complex<T> c1;
     static_assert(c1.real() == 0, "");
     static_assert(c1.imag() == 0, "");

Modified: libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_complex.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,11 +16,13 @@
 #include <complex>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class T>
 void
 test_constexpr()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::complex<T> lhs(1.5,  2.5);
     constexpr std::complex<T> rhs(1.5, -2.5);

Modified: libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_equals_scalar.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,11 +16,13 @@
 #include <complex>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class T>
 void
 test_constexpr()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::complex<T> lhs(1.5, 2.5);
     constexpr T rhs(-2.5);

Modified: libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_complex.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,11 +16,13 @@
 #include <complex>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class T>
 void
 test_constexpr()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::complex<T> lhs(1.5,  2.5);
     constexpr std::complex<T> rhs(1.5, -2.5);

Modified: libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/complex.ops/complex_not_equals_scalar.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,11 +16,13 @@
 #include <complex>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class T>
 void
 test_constexpr()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::complex<T> lhs(1.5,  2.5);
     constexpr T rhs(-2.5);

Modified: libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_equals_complex.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,11 +16,13 @@
 #include <complex>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class T>
 void
 test_constexpr()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr T lhs(-2.5);
     constexpr std::complex<T> rhs(1.5,  2.5);

Modified: libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp (original)
+++ libcxx/trunk/test/std/numerics/complex.number/complex.ops/scalar_not_equals_complex.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,11 +16,13 @@
 #include <complex>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class T>
 void
 test_constexpr()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr T lhs(-2.5);
     constexpr std::complex<T> rhs(1.5,  2.5);

Modified: libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.access/data.pass.cpp Fri Nov  4 15:26:59 2016
@@ -39,7 +39,7 @@ int main () {
     test ( U"a", 1 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char *s = "ABC";
     constexpr std::basic_string_view<char> sv( s, 2 );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.access/index.pass.cpp Fri Nov  4 15:26:59 2016
@@ -42,7 +42,7 @@ int main () {
     test ( U"a", 1 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::basic_string_view<char> sv ( "ABC", 2 );
     static_assert ( sv.length() ==  2,  "" );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.capacity/capacity.pass.cpp Fri Nov  4 15:26:59 2016
@@ -23,7 +23,7 @@
 
 template<typename SV>
 void test1 () {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr SV sv1;
     static_assert ( sv1.size() == 0, "" );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), true, true);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test("abcdefghijklmnopqrst", S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false, false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -49,7 +50,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -48,7 +49,7 @@ int main()
     test(S("abcdefghijklmnopqrst"), S("abcdefghijklmnopqrst"), false);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/default.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,9 +15,11 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
+
 template<typename T>
 void test () {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr T sv1;
     static_assert ( sv1.size() == 0, "" );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp Fri Nov  4 15:26:59 2016
@@ -18,6 +18,7 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template<typename CharT>
@@ -55,7 +56,7 @@ int main () {
     test ( U"" );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::basic_string_view<char, constexpr_char_traits<char>> sv1 ( "ABCDE" );
     static_assert ( sv1.size() == 5, "");

Modified: libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.cons/from_ptr_len.pass.cpp Fri Nov  4 15:26:59 2016
@@ -34,7 +34,7 @@ int main () {
     test ( "QBCDE", 5 );
     test ( "QBCDE", 2 );
     test ( "", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char *s = "QBCDE";
     constexpr std::basic_string_view<char> sv1 ( s, 2 );
@@ -46,7 +46,7 @@ int main () {
     test ( L"QBCDE", 5 );
     test ( L"QBCDE", 2 );
     test ( L"", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const wchar_t *s = L"QBCDE";
     constexpr std::basic_string_view<wchar_t> sv1 ( s, 2 );
@@ -59,7 +59,7 @@ int main () {
     test ( u"QBCDE", 5 );
     test ( u"QBCDE", 2 );
     test ( u"", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char16_t *s = u"QBCDE";
     constexpr std::basic_string_view<char16_t> sv1 ( s, 2 );
@@ -71,7 +71,7 @@ int main () {
     test ( U"QBCDE", 5 );
     test ( U"QBCDE", 2 );
     test ( U"", 0 );
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr const char32_t *s = U"QBCDE";
     constexpr std::basic_string_view<char32_t> sv1 ( s, 2 );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("abcdeabcdeabcdeabcde"), 'c', 2);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -68,7 +69,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'q', 0);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'e', 2);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'i', 19);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -66,7 +67,7 @@ int main()
     test(S("laenfsbridchgotmkqpj"), 'm', 15);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -149,7 +150,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -155,7 +156,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -376,7 +377,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -148,7 +149,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -65,7 +66,7 @@ int main()
     test(S("abcdeabcdeabcdeabcde"), 'b', 16);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -155,7 +156,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -375,7 +376,7 @@ int main()
     test3<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 template <class S>
@@ -148,7 +149,7 @@ int main()
     test1<S>();
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.iterators/begin.pass.cpp Fri Nov  4 15:26:59 2016
@@ -58,7 +58,7 @@ int main()
     test(u32string_view{U"123"});
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr string_view       sv { "123", 3 };
     constexpr u16string_view u16sv {u"123", 3 };

Modified: libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.iterators/end.pass.cpp Fri Nov  4 15:26:59 2016
@@ -66,7 +66,7 @@ int main()
     test(u32string_view{U"123"});
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr string_view       sv { "123", 3 };
     constexpr u16string_view u16sv {u"123", 3 };

Modified: libcxx/trunk/test/std/strings/string.view/string.view.modifiers/clear.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.modifiers/clear.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.modifiers/clear.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.modifiers/clear.pass.cpp Fri Nov  4 15:26:59 2016
@@ -32,7 +32,7 @@ void test ( const CharT *s, size_t len )
     }
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n ) {
     typedef std::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -60,7 +60,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert ( test_ce (5) == 0, "" );
 #endif
 

Modified: libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_prefix.pass.cpp Fri Nov  4 15:26:59 2016
@@ -39,7 +39,7 @@ void test ( const CharT *s, size_t len )
     }
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n, size_t k ) {
     typedef std::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -67,7 +67,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     static_assert ( test_ce ( 5, 0 ) == 5, "" );
     static_assert ( test_ce ( 5, 1 ) == 4, "" );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.modifiers/remove_suffix.pass.cpp Fri Nov  4 15:26:59 2016
@@ -39,7 +39,7 @@ void test ( const CharT *s, size_t len )
 
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n, size_t k ) {
     typedef std::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -67,7 +67,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     static_assert ( test_ce ( 5, 0 ) == 5, "" );
     static_assert ( test_ce ( 5, 1 ) == 4, "" );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.modifiers/swap.pass.cpp Fri Nov  4 15:26:59 2016
@@ -36,7 +36,7 @@ void test ( const CharT *s, size_t len )
 
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 constexpr size_t test_ce ( size_t n, size_t k ) {
     typedef std::basic_string_view<char> SV;
     SV sv1{ "ABCDEFGHIJKL", n };
@@ -66,7 +66,7 @@ int main () {
     test ( U"", 0 );
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     static_assert ( test_ce (2, 3) == 3, "" );
     static_assert ( test_ce (5, 3) == 3, "" );

Modified: libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,7 +16,9 @@
 #include <string_view>
 #include <cassert>
 
-#if _LIBCPP_STD_VER > 11
+#include "test_macros.h"
+
+#if TEST_STD_VER > 11
 // quoted is C++14 only
 
 bool is_skipws ( const std::istream *is ) {

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 int sign ( int x ) { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); }
@@ -112,7 +113,7 @@ int main()
     }
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1;

Modified: libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp (original)
+++ libcxx/trunk/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,7 @@
 #include <string_view>
 #include <cassert>
 
+#include "test_macros.h"
 #include "constexpr_char_traits.hpp"
 
 int sign ( int x ) { return x > 0 ? 1 : ( x < 0 ? -1 : 0 ); }
@@ -106,7 +107,7 @@ int main () {
     test(U"abcdefghijklmnopqrst", U"abcdefghijklmnopqrst", 0);
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::basic_string_view<char, constexpr_char_traits<char>> SV;
     constexpr SV  sv1 { "abcde", 5 };

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/divides.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::divides<int> F;
@@ -23,7 +25,7 @@ int main()
     static_assert((std::is_same<int, F::second_argument_type>::value), "" );
     static_assert((std::is_same<int, F::result_type>::value), "" );
     assert(f(36, 4) == 9);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::divides<> F2;
     const F2 f2 = F2();
     assert(f2(36, 4) == 9);

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/minus.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::minus<int> F;
@@ -23,7 +25,7 @@ int main()
     static_assert((std::is_same<int, F::second_argument_type>::value), "" );
     static_assert((std::is_same<int, F::result_type>::value), "" );
     assert(f(3, 2) == 1);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::minus<> F2;
     const F2 f2 = F2();
     assert(f2(3,2) == 1);

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/modulus.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::modulus<int> F;
@@ -23,7 +25,7 @@ int main()
     static_assert((std::is_same<int, F::second_argument_type>::value), "" );
     static_assert((std::is_same<int, F::result_type>::value), "" );
     assert(f(36, 8) == 4);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::modulus<> F2;
     const F2 f2 = F2();
     assert(f2(36, 8) == 4);

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/multiplies.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::multiplies<int> F;
@@ -23,7 +25,7 @@ int main()
     static_assert((std::is_same<int, F::second_argument_type>::value), "" );
     static_assert((std::is_same<int, F::result_type>::value), "" );
     assert(f(3, 2) == 6);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::multiplies<> F2;
     const F2 f2 = F2();
     assert(f2(3,2) == 6);

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/negate.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::negate<int> F;
@@ -22,7 +24,7 @@ int main()
     static_assert((std::is_same<F::argument_type, int>::value), "" );
     static_assert((std::is_same<F::result_type, int>::value), "" );
     assert(f(36) == -36);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::negate<> F2;
     const F2 f2 = F2();
     assert(f2(36) == -36);

Modified: libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/arithmetic.operations/plus.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::plus<int> F;
@@ -23,7 +25,7 @@ int main()
     static_assert((std::is_same<int, F::second_argument_type>::value), "" );
     static_assert((std::is_same<int, F::result_type>::value), "" );
     assert(f(3, 2) == 5);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::plus<> F2;
     const F2 f2 = F2();
     assert(f2(3,2) == 5);

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_and.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::bit_and<int> F;
@@ -27,7 +29,7 @@ int main()
     assert(f(0x58D3, 0xEA95) == 0x4891);
     assert(f(0x58D3, 0) == 0);
     assert(f(0xFFFF, 0x58D3) == 0x58D3);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::bit_and<> F2;
     const F2 f2 = F2();
     assert(f2(0xEA95, 0xEA95) == 0xEA95);

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_or.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::bit_or<int> F;
@@ -27,7 +29,7 @@ int main()
     assert(f(0x58D3, 0xEA95) == 0xFAD7);
     assert(f(0x58D3, 0) == 0x58D3);
     assert(f(0xFFFF, 0x58D3) == 0xFFFF);
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::bit_or<> F2;
     const F2 f2 = F2();
     assert(f2(0xEA95, 0xEA95) == 0xEA95);

Modified: libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/bitwise.operations/bit_xor.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -29,7 +31,7 @@ int main()
     assert(f(0x58D3, 0) == 0x58D3);
     assert(f(0xFFFF, 0x58D3) == 0xA72C);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     typedef std::bit_xor<> F2;
     const F2 f = F2();

Modified: libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_and.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::logical_and<int> F;
@@ -26,7 +28,7 @@ int main()
     assert(!f(36, 0));
     assert(!f(0, 36));
     assert(!f(0, 0));
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::logical_and<> F2;
     const F2 f2 = F2();
     assert( f2(36, 36));

Modified: libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_not.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::logical_not<int> F;
@@ -23,7 +25,7 @@ int main()
     static_assert((std::is_same<F::result_type, bool>::value), "" );
     assert(!f(36));
     assert(f(0));
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::logical_not<> F2;
     const F2 f2 = F2();
     assert(!f2(36));

Modified: libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/logical.operations/logical_or.pass.cpp Fri Nov  4 15:26:59 2016
@@ -15,6 +15,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::logical_or<int> F;
@@ -26,7 +28,7 @@ int main()
     assert(f(36, 0));
     assert(f(0, 36));
     assert(!f(0, 0));
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     typedef std::logical_or<> F2;
     const F2 f2 = F2();
     assert( f2(36, 36));

Modified: libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp (original)
+++ libcxx/trunk/test/std/utilities/intseq/intseq.intseq/integer_seq.fail.cpp Fri Nov  4 15:26:59 2016
@@ -22,9 +22,11 @@
 
 #include <utility>
 
+#include "test_macros.h"
+
 int main()
 {
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 
 //  Should fail to compile, since float is not an integral type
     using floatmix = std::integer_sequence<float>;
@@ -34,5 +36,5 @@ int main()
 
 X
 
-#endif  // _LIBCPP_STD_VER > 11
+#endif  // TEST_STD_VER > 11
 }

Modified: libcxx/trunk/test/std/utilities/memory/storage.iterator/raw_storage_iterator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/storage.iterator/raw_storage_iterator.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/storage.iterator/raw_storage_iterator.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/storage.iterator/raw_storage_iterator.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,6 +13,7 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
 #include <MoveOnly.h>
 
 int A_constructed = 0;
@@ -46,7 +47,7 @@ int main()
         assert(A_constructed == i+1);
     }
     }
-#if _LIBCPP_STD_VER >= 14
+#if TEST_STD_VER >= 14
     {
     typedef MoveOnly S;
     typedef std::aligned_storage<3*sizeof(S), std::alignment_of<S>::value>::type

Modified: libcxx/trunk/test/std/utilities/meta/meta.help/integral_constant.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.help/integral_constant.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.help/integral_constant.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.help/integral_constant.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,6 +14,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::integral_constant<int, 5> _5;
@@ -26,7 +28,7 @@ int main()
     assert(_5() == 5);
 #endif
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert ( _5{}() == 5, "" );
     static_assert ( std::true_type{}(), "" );
 #endif

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_all_extents.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,13 +13,15 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 enum Enum {zero, one_};
 
 template <class T, class U>
 void test_remove_all_extents()
 {
     static_assert((std::is_same<typename std::remove_all_extents<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::remove_all_extents_t<T>,     U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.arr/remove_extent.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,13 +13,15 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 enum Enum {zero, one_};
 
 template <class T, class U>
 void test_remove_extent()
 {
     static_assert((std::is_same<typename std::remove_extent<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::remove_extent_t<T>,     U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_const.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 void test_add_const_imp()
 {
     static_assert((std::is_same<typename std::add_const<T>::type, const U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::add_const_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_cv.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 void test_add_cv_imp()
 {
     static_assert((std::is_same<typename std::add_cv<T>::type, const volatile U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::add_cv_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/add_volatile.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 void test_add_volatile_imp()
 {
     static_assert((std::is_same<typename std::add_volatile<T>::type, volatile U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::add_volatile_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_const.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 void test_remove_const_imp()
 {
     static_assert((std::is_same<typename std::remove_const<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::remove_const_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_cv.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 void test_remove_cv_imp()
 {
     static_assert((std::is_same<typename std::remove_cv<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::remove_cv_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.cv/remove_volatile.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 void test_remove_volatile_imp()
 {
     static_assert((std::is_same<typename std::remove_volatile<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::remove_volatile_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,12 +13,14 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 int main()
 {
 #ifndef _LIBCPP_HAS_NO_VARIADICS
     {
     typedef std::aligned_union<10, char >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<10, char>, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 1, "");
@@ -26,7 +28,7 @@ int main()
     }
     {
     typedef std::aligned_union<10, short >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<10, short>, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 2, "");
@@ -34,7 +36,7 @@ int main()
     }
     {
     typedef std::aligned_union<10, int >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<10, int>, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 4, "");
@@ -42,7 +44,7 @@ int main()
     }
     {
     typedef std::aligned_union<10, double >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<10, double>, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 8, "");
@@ -50,7 +52,7 @@ int main()
     }
     {
     typedef std::aligned_union<10, short, char >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<10, short, char>, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 2, "");
@@ -58,7 +60,7 @@ int main()
     }
     {
     typedef std::aligned_union<10, char, short >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<10, char, short>, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 2, "");
@@ -66,7 +68,7 @@ int main()
     }
     {
     typedef std::aligned_union<2, int, char, short >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<2, int, char, short>, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 4, "");
@@ -74,7 +76,7 @@ int main()
     }
     {
     typedef std::aligned_union<2, char, int, short >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<2, char, int, short >, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 4, "");
@@ -82,7 +84,7 @@ int main()
     }
     {
     typedef std::aligned_union<2, char, short, int >::type T1;
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(std::is_same<std::aligned_union_t<2, char, short, int >, T1>::value, "" );
 #endif
     static_assert(std::alignment_of<T1>::value == 4, "");

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/conditional.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 int main()
 {
     static_assert((std::is_same<std::conditional<true, char, int>::type, char>::value), "");
     static_assert((std::is_same<std::conditional<false, char, int>::type, int>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::conditional_t<true, char, int>, char>::value), "");
     static_assert((std::is_same<std::conditional_t<false, char, int>, int>::value), "");
 #endif

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/decay.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, class U>
 void test_decay()
 {
     static_assert((std::is_same<typename std::decay<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::decay_t<T>,     U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.other/enable_if.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 int main()
 {
     static_assert((std::is_same<std::enable_if<true>::type, void>::value), "");
     static_assert((std::is_same<std::enable_if<true, int>::type, int>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::enable_if_t<true>, void>::value), "");
     static_assert((std::is_same<std::enable_if_t<true, int>, int>::value), "");
 #endif

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_signed.pass.cpp Fri Nov  4 15:26:59 2016
@@ -38,7 +38,7 @@ template <class T, class U>
 void test_make_signed()
 {
     static_assert((std::is_same<typename std::make_signed<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::make_signed_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.trans/meta.trans.sign/make_unsigned.pass.cpp Fri Nov  4 15:26:59 2016
@@ -38,7 +38,7 @@ template <class T, class U>
 void test_make_unsigned()
 {
     static_assert((std::is_same<typename std::make_unsigned<T>::type, U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<std::make_unsigned_t<T>, U>::value), "");
 #endif
 }

Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/lvalue_ref.pass.cpp Fri Nov  4 15:26:59 2016
@@ -13,11 +13,13 @@
 
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T>
 void test_lvalue_ref()
 {
     static_assert(!std::is_void<T>::value, "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(!std::is_null_pointer<T>::value, "");
 #endif
     static_assert(!std::is_integral<T>::value, "");

Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.cat/member_function_pointer_no_variadics.pass.cpp Fri Nov  4 15:26:59 2016
@@ -14,11 +14,13 @@
 #define _LIBCPP_HAS_NO_VARIADICS
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T>
 void test_member_function_pointer_imp()
 {
     static_assert(!std::is_void<T>::value, "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert(!std::is_null_pointer<T>::value, "");
 #endif
     static_assert(!std::is_integral<T>::value, "");

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.cast/time_point_cast.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,6 +19,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class FromDuration, class ToDuration>
 void
 test(const FromDuration& df, const ToDuration& d)
@@ -35,7 +37,7 @@ test(const FromDuration& df, const ToDur
     }
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 
 template<class FromDuration, long long From, class ToDuration, long long To>
 void test_constexpr ()
@@ -65,7 +67,7 @@ int main()
          std::chrono::duration<double, std::ratio<3600> >(7265./3600));
     test(std::chrono::duration<int, std::ratio<2, 3> >(9),
          std::chrono::duration<int, std::ratio<3, 5> >(10));
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::hours,    2> ();
     test_constexpr<std::chrono::milliseconds, 7265000, std::chrono::minutes,121> ();

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_equal.pass.cpp Fri Nov  4 15:26:59 2016
@@ -22,6 +22,8 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::chrono::system_clock Clock;
@@ -55,7 +57,7 @@ int main()
     assert( (t1 != t2));
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr T1 t1(Duration1(3));
     constexpr T1 t2(Duration1(3));

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.comparisons/op_less.pass.cpp Fri Nov  4 15:26:59 2016
@@ -30,6 +30,8 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::chrono::system_clock Clock;
@@ -71,7 +73,7 @@ int main()
     assert(!(t1 >= t2));
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr T1 t1(Duration1(3));
     constexpr T1 t2(Duration1(3));

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/convert.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/convert.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/convert.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/convert.pass.cpp Fri Nov  4 15:26:59 2016
@@ -17,6 +17,8 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::chrono::system_clock Clock;
@@ -27,7 +29,7 @@ int main()
     std::chrono::time_point<Clock, Duration1> t1 = t2;
     assert(t1.time_since_epoch() == Duration1(3000));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(3));
     constexpr std::chrono::time_point<Clock, Duration1> t1 = t2;

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/default.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/default.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/default.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/default.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,7 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
 #include "../../rep.h"
 
 int main()
@@ -26,7 +27,7 @@ int main()
     std::chrono::time_point<Clock, Duration> t;
     assert(t.time_since_epoch() == Duration::zero());
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::chrono::time_point<Clock, Duration> t;
     static_assert(t.time_since_epoch() == Duration::zero(), "");

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/duration.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/duration.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/duration.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.cons/duration.pass.cpp Fri Nov  4 15:26:59 2016
@@ -16,6 +16,8 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::chrono::system_clock Clock;
@@ -28,7 +30,7 @@ int main()
     std::chrono::time_point<Clock, Duration> t(std::chrono::seconds(3));
     assert(t.time_since_epoch() == Duration(3000));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::chrono::time_point<Clock, Duration> t(Duration(3));
     static_assert(t.time_since_epoch() == Duration(3), "");

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_%2B.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_+.pass.cpp Fri Nov  4 15:26:59 2016
@@ -22,6 +22,8 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::chrono::system_clock Clock;
@@ -34,7 +36,7 @@ int main()
     t2 = Duration2(6) + t1;
     assert(t2.time_since_epoch() == Duration2(3006));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
     constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 + Duration2(5);

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-duration.pass.cpp Fri Nov  4 15:26:59 2016
@@ -18,6 +18,8 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::chrono::system_clock Clock;
@@ -28,7 +30,7 @@ int main()
     std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5);
     assert(t2.time_since_epoch() == Duration2(2995));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
     constexpr std::chrono::time_point<Clock, Duration2> t2 = t1 - Duration2(5);

Modified: libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/time/time.point/time.point.nonmember/op_-time_point.pass.cpp Fri Nov  4 15:26:59 2016
@@ -18,6 +18,8 @@
 #include <chrono>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     typedef std::chrono::system_clock Clock;
@@ -28,7 +30,7 @@ int main()
     std::chrono::time_point<Clock, Duration2> t2(Duration2(5));
     assert((t1 - t2) == Duration2(2995));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
     constexpr std::chrono::time_point<Clock, Duration1> t1(Duration1(3));
     constexpr std::chrono::time_point<Clock, Duration2> t2(Duration2(5));

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,9 +20,10 @@
 #include <cassert>
 #include <type_traits>
 
+#include "test_macros.h"
 #include "MoveOnly.h"
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 
 struct Empty {};
 struct A

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_Types.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,6 +19,7 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
 
 template <class ...>
 struct never {
@@ -86,7 +87,7 @@ int main()
         std::tuple<int> t(2);
         assert(std::get<0>(t) == 2);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         constexpr std::tuple<int> t(2);
         static_assert(std::get<0>(t) == 2, "");
@@ -101,7 +102,7 @@ int main()
         assert(std::get<0>(t) == 2);
         assert(std::get<1>(t) == nullptr);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         constexpr std::tuple<int, char*> t(2, nullptr);
         static_assert(std::get<0>(t) == 2, "");

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/const_pair.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,6 +19,8 @@
 #include <utility>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -29,7 +31,7 @@ int main()
         assert(std::get<0>(t1) == 2);
         assert(std::get<1>(t1) == short('a'));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::pair<double, char> P0;
         typedef std::tuple<int, short> T1;

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/convert_copy.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,8 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
+
 struct Explicit {
   int value;
   explicit Explicit(int x) : value(x) {}
@@ -43,7 +45,7 @@ struct D
     explicit D(int i) : B(i) {}
 };
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 
 struct A
 {
@@ -72,7 +74,7 @@ int main()
         T1 t1 = t0;
         assert(std::get<0>(t1) == 2);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::tuple<double> T0;
         typedef std::tuple<A> T1;

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/copy.pass.cpp Fri Nov  4 15:26:59 2016
@@ -19,6 +19,8 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
+
 struct Empty {};
 
 int main()
@@ -50,7 +52,7 @@ int main()
         assert(std::get<1>(t) == 'a');
         assert(std::get<2>(t) == "some text");
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::tuple<int> T;
         constexpr T t0(2);

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/forward_as_tuple.pass.cpp Fri Nov  4 15:26:59 2016
@@ -18,6 +18,8 @@
 #include <type_traits>
 #include <cassert>
 
+#include "test_macros.h"
+
 template <class Tuple>
 void
 test0(const Tuple&)
@@ -54,7 +56,7 @@ test2a(const Tuple& t)
     assert(std::get<1>(t) == 'a');
 }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 template <class Tuple>
 constexpr int
 test3(const Tuple&)
@@ -79,7 +81,7 @@ int main()
         double i = 2.5;
         char c = 'a';
         test2a(std::forward_as_tuple(i, c));
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
         static_assert ( test3 (std::forward_as_tuple(i, c)) == 2, "" );
 #endif
     }

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/make_tuple.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,8 @@
 #include <functional>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -40,7 +42,7 @@ int main()
         assert(i == 0);
         assert(j == 0);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         constexpr auto t1 = std::make_tuple(0, 1, 3.14);
         constexpr int i1 = std::get<1>(t1);

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp Fri Nov  4 15:26:59 2016
@@ -20,6 +20,8 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -29,7 +31,7 @@ int main()
         assert(i == 42);
         assert(s == "C++");
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         static constexpr int i = 42;
         static constexpr double f = 1.1;

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tuple_cat.pass.cpp Fri Nov  4 15:26:59 2016
@@ -21,6 +21,7 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
 #include "MoveOnly.h"
 
 int main()
@@ -48,7 +49,7 @@ int main()
         assert(std::get<0>(t) == 1);
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         constexpr std::tuple<> t = std::tuple_cat();
         ((void)t); // Prevent unused warning

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_const.pass.cpp Fri Nov  4 15:26:59 2016
@@ -21,6 +21,8 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
+
 struct Empty {};
 
 int main()
@@ -36,7 +38,7 @@ int main()
         assert(std::get<0>(t) == "high");
         assert(std::get<1>(t) == 5);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::tuple<double, int> T;
         constexpr T t(2.718, 5);

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.elem/get_non_const.pass.cpp Fri Nov  4 15:26:59 2016
@@ -71,7 +71,7 @@ int main()
         assert(std::get<2>(t) == 4);
         assert(d == 2.5);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     { // get on an rvalue tuple
         static_assert ( std::get<0> ( std::make_tuple ( 0.0f, 1, 2.0, 3L )) == 0, "" );
         static_assert ( std::get<1> ( std::make_tuple ( 0.0f, 1, 2.0, 3L )) == 1, "" );

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_element.pass.cpp Fri Nov  4 15:26:59 2016
@@ -23,6 +23,8 @@
 #include <tuple>
 #include <type_traits>
 
+#include "test_macros.h"
+
 template <class T, std::size_t N, class U>
 void test()
 {
@@ -30,7 +32,7 @@ void test()
     static_assert((std::is_same<typename std::tuple_element<N, const T>::type, const U>::value), "");
     static_assert((std::is_same<typename std::tuple_element<N, volatile T>::type, volatile U>::value), "");
     static_assert((std::is_same<typename std::tuple_element<N, const volatile T>::type, const volatile U>::value), "");
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     static_assert((std::is_same<typename std::tuple_element_t<N, T>, U>::value), "");
     static_assert((std::is_same<typename std::tuple_element_t<N, const T>, const U>::value), "");
     static_assert((std::is_same<typename std::tuple_element_t<N, volatile T>, volatile U>::value), "");

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/eq.pass.cpp Fri Nov  4 15:26:59 2016
@@ -21,6 +21,8 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -143,7 +145,7 @@ int main()
         assert(!(t1 == t2));
         assert(t1 != t2);
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::tuple<char, int, double> T1;
         typedef std::tuple<double, char, int> T2;

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.rel/lt.pass.cpp Fri Nov  4 15:26:59 2016
@@ -33,6 +33,8 @@
 #include <string>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -195,7 +197,7 @@ int main()
         assert(!(t1 >  t2));
         assert(!(t1 >= t2));
     }
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::tuple<char, int, double> T1;
         typedef std::tuple<double, char, int> T2;

Modified: libcxx/trunk/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/utility/pairs/pairs.spec/comparison.pass.cpp Fri Nov  4 15:26:59 2016
@@ -21,6 +21,8 @@
 #include <utility>
 #include <cassert>
 
+#include "test_macros.h"
+
 int main()
 {
     {
@@ -79,7 +81,7 @@ int main()
         assert( (p1 >= p2));
     }
 
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
     {
         typedef std::pair<int, short> P;
         constexpr P p1(3, 4);

Modified: libcxx/trunk/test/support/is_transparent.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/is_transparent.h?rev=286007&r1=286006&r2=286007&view=diff
==============================================================================
--- libcxx/trunk/test/support/is_transparent.h (original)
+++ libcxx/trunk/test/support/is_transparent.h Fri Nov  4 15:26:59 2016
@@ -10,8 +10,10 @@
 #ifndef TRANSPARENT_H
 #define TRANSPARENT_H
 
+#include "test_macros.h"
+
 // testing transparent
-#if _LIBCPP_STD_VER > 11
+#if TEST_STD_VER > 11
 
 struct transparent_less
 {




More information about the cfe-commits mailing list