Add compiler flag test support to LIT. Fix new/delete tests on apple-clang.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@237700 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2015-05-19 15:15:53 +00:00
parent 5dce73dd6e
commit a985b8cc79
4 changed files with 28 additions and 11 deletions

View File

@@ -14,11 +14,8 @@
// UNSUPPORTED: sanitizer-new-delete
// NOTE: -fsized-deallocation was only added in clang 3.7
// XFAIL: clang-3.4, clang-3.5, clang-3.6
// NOTE: -fsized-deallocation was only added to GCC in 5.1.
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
// NOTE: Require that the compiler supports the -fsized-deallocation flag.
// REQUIRES: fsized-deallocation
// RUN: %build -fsized-deallocation
// RUN: %run

View File

@@ -14,11 +14,8 @@
// UNSUPPORTED: sanitizer-new-delete
// NOTE: -fsized-deallocation was only added in clang 3.7
// XFAIL: clang-3.4, clang-3.5, clang-3.6
// NOTE: -fsized-deallocation was only added to GCC in 5.1.
// XFAIL: gcc-4.7, gcc-4.8, gcc-4.9
// NOTE: Require that the compiler supports the -fsized-deallocation flag.
// REQUIRES: fsized-deallocation
// RUN: %build -fsized-deallocation
// RUN: %run