diff options
author | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 12:57:32 +0000 |
---|---|---|
committer | Matthijs Kooijman <matthijs@stdin.nl> | 2008-06-10 12:57:32 +0000 |
commit | 1cd8f11cc0af051ec06f579647f15485732ec555 (patch) | |
tree | 1072542dfba6378515e2e037a6b5e7ee88656280 /test/TableGen | |
parent | f167bc2922c18da758f3fbcc5459798c1a7480c5 (diff) | |
download | external_llvm-1cd8f11cc0af051ec06f579647f15485732ec555.zip external_llvm-1cd8f11cc0af051ec06f579647f15485732ec555.tar.gz external_llvm-1cd8f11cc0af051ec06f579647f15485732ec555.tar.bz2 |
For all RUN lines starting with "not", redirect stderr to /dev/null so tests
don't fail when (expected) error output is produced. This fixes 17 tests.
While I was there, I also made all RUN lines of the form "not llvm-as..." a bit
more consistent, they now all redirect stderr and stdout to /dev/null and use
input redirect to read their input.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52174 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen')
-rw-r--r-- | test/TableGen/BitsInitOverflow.td | 2 | ||||
-rw-r--r-- | test/TableGen/UnterminatedComment.td | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/TableGen/BitsInitOverflow.td b/test/TableGen/BitsInitOverflow.td index c0b5da9..076b3f6 100644 --- a/test/TableGen/BitsInitOverflow.td +++ b/test/TableGen/BitsInitOverflow.td @@ -1,4 +1,4 @@ -// RUN: not tblgen %s +// RUN: not tblgen %s 2> /dev/null def { bits<2> X = 5; // bitfield is too small, reject diff --git a/test/TableGen/UnterminatedComment.td b/test/TableGen/UnterminatedComment.td index 7f449c4..158cede 100644 --- a/test/TableGen/UnterminatedComment.td +++ b/test/TableGen/UnterminatedComment.td @@ -1,4 +1,4 @@ -// RUN: not tblgen < %s +// RUN: not tblgen < %s >& /dev/null def x; |