diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-01-26 09:28:50 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-01-26 09:28:50 +0000 |
commit | 13663926db6e62c0ed5203d8ec4e543b2c190f0f (patch) | |
tree | e6d1861d17a2997f52169631c2cbf616eeb91978 | |
parent | 453dbcbe30093fbf947a0bec2fbd46e9694eafe9 (diff) |
Suppress any warnings from this test. They aren't interesting, and they
end up in the same output file as the layout stuff. There may even be
a race condition which is causing this output to confuse the FileCheck
in some cases. I actually don't know how on earth the parsing of the
layout file even works given that there are diagnostics in the middle of
it. ;]
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149058 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/override-layout.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/override-layout.c b/test/CodeGen/override-layout.c index 44b58f0778..687cc04e30 100644 --- a/test/CodeGen/override-layout.c +++ b/test/CodeGen/override-layout.c @@ -1,6 +1,6 @@ -// RUN: %clang_cc1 -fdump-record-layouts %s 2> %t.layouts -// RUN: %clang_cc1 -fdump-record-layouts-simple %s > %t.before 2>&1 -// RUN: %clang_cc1 -DPACKED= -DALIGNED16= -fdump-record-layouts-simple -foverride-record-layout=%t.layouts %s > %t.after 2>&1 +// RUN: %clang_cc1 -w -fdump-record-layouts %s 2> %t.layouts +// RUN: %clang_cc1 -w -fdump-record-layouts-simple %s > %t.before 2>&1 +// RUN: %clang_cc1 -w -DPACKED= -DALIGNED16= -fdump-record-layouts-simple -foverride-record-layout=%t.layouts %s > %t.after 2>&1 // RUN: diff %t.before %t.after // RUN: FileCheck %s < %t.after |