llvm.org GIT mirror llvm / 1cd8f11
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 Matthijs Kooijman 11 years ago
17 changed file(s) with 17 addition(s) and 17 deletion(s). Raw diff Collapse all Expand all
None ; RUN: not llvm-as < %s > /dev/null
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 void %test() {
33 %X = add int 0, 1
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 declare i32 @atoi(i8*) nounwind readonly
33 declare i32 @atoi(i8*)
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 %list = type { i32, %list* }
33
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 %list = type { i32, %list* }
33 %meta = type opaque
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 %list = type { i32, %list* }
33
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 declare void @llvm.gcroot(i8**, i8*)
33
None // RUN: not tblgen %s
0 // RUN: not tblgen %s 2> /dev/null
11
22 def {
33 bits<2> X = 5; // bitfield is too small, reject
None // RUN: not tblgen < %s
0 // RUN: not tblgen < %s >& /dev/null
11
22 def x;
33
None ; RUN: not llvm-as -f %s -o /dev/null
0 ; RUN: not llvm-as < %s >& /dev/null
11
22
33
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 declare void @foo(i8*)
33
None ; RUN: not llvm-as %s -o /dev/null
0 ; RUN: not llvm-as < %s >& /dev/null
11
22 %struct = type { }
33
None ; RUN: not llvm-as %s -o /dev/null -f
0 ; RUN: not llvm-as < %s >& /dev/null
11 declare void @h(i32 byval %num)
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11 ; PR1633
22
33 %meta = type { i8* }
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11 ; PR1633
22
33 %meta = type { i8* }
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11 ; PR1633
22
33 %meta = type { i8* }
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11 ; PR1633
22
33 %meta = type { i8* }
None ; RUN: not llvm-as < %s
0 ; RUN: not llvm-as < %s >& /dev/null
11 ; PR1633
22
33 %meta = type { i8* }