clang/test/Driver/qa_override.c: Resurrect a part of r187376. It still requires the feature 'clang-driver' for cygming.

llvm-svn: 187405
This commit is contained in:
NAKAMURA Takumi 2013-07-30 07:47:58 +00:00
parent 0c2ee5a2cb
commit 2c6cf7d54a
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
// RUN: env QA_OVERRIDE_GCC3_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-ccc-print-options " %clang x -O2 b -O3 2>&1 | FileCheck %s // RUN: env QA_OVERRIDE_GCC3_OPTIONS="#+-Os +-Oz +-O +-O3 +-Oignore +a +b +c xb Xa Omagic ^-ccc-print-options " %clang x -O2 b -O3 2>&1 | FileCheck %s
// RUN: env QA_OVERRIDE_GCC3_OPTIONS="x-Werror +-mfoo" %clang -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR // RUN: env QA_OVERRIDE_GCC3_OPTIONS="x-Werror +-mfoo" %clang -Werror %s -c -### 2>&1 | FileCheck %s -check-prefix=RM-WERROR
// FIXME: It seems doesn't work with gcc-driver.
// REQUIRES: clang-driver
// CHECK-NOT: ### // CHECK-NOT: ###
// CHECK: Option 0 - Name: "-ccc-print-options", Values: {} // CHECK: Option 0 - Name: "-ccc-print-options", Values: {}
// CHECK-NEXT: Option 1 - Name: "<input>", Values: {"x"} // CHECK-NEXT: Option 1 - Name: "<input>", Values: {"x"}