Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests and fixed broken run lines.
XFAILed 3 arm regressions (will file bugs)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44389 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CFrontend/2006-09-21-IncompleteElementType.c b/test/CFrontend/2006-09-21-IncompleteElementType.c
index 64f7501..a509182 100644
--- a/test/CFrontend/2006-09-21-IncompleteElementType.c
+++ b/test/CFrontend/2006-09-21-IncompleteElementType.c
@@ -1,3 +1,3 @@
-// RUN: %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
+// RUN: not %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
 
 struct A X[(927 - 37) / sizeof(struct A)];
diff --git a/test/CFrontend/2007-10-01-BuildArrayRef.c b/test/CFrontend/2007-10-01-BuildArrayRef.c
index fb8ee3d..e903755 100644
--- a/test/CFrontend/2007-10-01-BuildArrayRef.c
+++ b/test/CFrontend/2007-10-01-BuildArrayRef.c
@@ -1,4 +1,4 @@
-// RUN: %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
+// RUN: not %llvmgcc -S %s -o /dev/null |& grep "error: assignment of read-only location"
 // PR 1603
 int func()
 {