[lld] r194727 - Test: Move input redirections at the end of the line.

Rui Ueyama ruiu at google.com
Thu Nov 14 12:52:29 PST 2013


Author: ruiu
Date: Thu Nov 14 14:52:28 2013
New Revision: 194727

URL: http://llvm.org/viewvc/llvm-project?rev=194727&view=rev
Log:
Test: Move input redirections at the end of the line.

Writing arguments after the redirection of input ("< somefile") seems a bit
strange. Changes the order.

Modified:
    lld/trunk/test/core/error-atom-attribute.objtxt
    lld/trunk/test/core/error-atom-content-byte-value.objtxt
    lld/trunk/test/core/error-atom-content-bytes.objtxt
    lld/trunk/test/core/error-atom-type.objtxt
    lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt
    lld/trunk/test/core/error-file-attribute.objtxt
    lld/trunk/test/core/error-fixup-attribute.objtxt
    lld/trunk/test/core/error-fixup-target.objtxt
    lld/trunk/test/core/undef-coalesce-error.objtxt

Modified: lld/trunk/test/core/error-atom-attribute.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-attribute.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-atom-attribute.objtxt (original)
+++ lld/trunk/test/core/error-atom-attribute.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that unknown atom attribute produces a readable error.

Modified: lld/trunk/test/core/error-atom-content-byte-value.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-content-byte-value.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-atom-content-byte-value.objtxt (original)
+++ lld/trunk/test/core/error-atom-content-byte-value.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that an invalid hex byte produces a readable error.

Modified: lld/trunk/test/core/error-atom-content-bytes.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-content-bytes.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-atom-content-bytes.objtxt (original)
+++ lld/trunk/test/core/error-atom-content-bytes.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that an out of range byte value produces a readable error.

Modified: lld/trunk/test/core/error-atom-type.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-type.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-atom-type.objtxt (original)
+++ lld/trunk/test/core/error-atom-type.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that an unknown content type produces a readable error.

Modified: lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt (original)
+++ lld/trunk/test/core/error-atom-undefined-wrong-attribue.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that a defined attribute on an undefined atom produces a readable error.

Modified: lld/trunk/test/core/error-file-attribute.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-file-attribute.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-file-attribute.objtxt (original)
+++ lld/trunk/test/core/error-file-attribute.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that unknown file attribute produces a readable error.

Modified: lld/trunk/test/core/error-fixup-attribute.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-fixup-attribute.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-fixup-attribute.objtxt (original)
+++ lld/trunk/test/core/error-fixup-attribute.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that unknown fixup attribute produces a readable error.

Modified: lld/trunk/test/core/error-fixup-target.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/error-fixup-target.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/error-fixup-target.objtxt (original)
+++ lld/trunk/test/core/error-fixup-target.objtxt Thu Nov 14 14:52:28 2013
@@ -1,5 +1,5 @@
 # RUN: not lld -core %s 2> %t.err
-# RUN:   FileCheck < %t.err %s
+# RUN: FileCheck %s < %t.err
 
 #
 # Test that unbindable target name produces a readable error.

Modified: lld/trunk/test/core/undef-coalesce-error.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/core/undef-coalesce-error.objtxt?rev=194727&r1=194726&r2=194727&view=diff
==============================================================================
--- lld/trunk/test/core/undef-coalesce-error.objtxt (original)
+++ lld/trunk/test/core/undef-coalesce-error.objtxt Thu Nov 14 14:52:28 2013
@@ -1,6 +1,6 @@
 # RUN: not lld -core --undefines-are-errors %s 2> %t.err
-# RUN:   FileCheck -check-prefix=CHECKERR < %t.err %s
-# RUN: lld -core  %s | FileCheck %s
+# RUN: FileCheck -check-prefix=CHECKERR %s < %t.err
+# RUN: lld -core %s | FileCheck %s
 
 #
 # Test that -undefines-are-errors triggers and error 





More information about the llvm-commits mailing list