[llvm-commits] [lld] r171992 - /lld/trunk/test/elf/rodata.objtxt

Michael J. Spencer bigcheesegs at gmail.com
Wed Jan 9 12:10:31 PST 2013


Author: mspencer
Date: Wed Jan  9 14:10:30 2013
New Revision: 171992

URL: http://llvm.org/viewvc/llvm-project?rev=171992&view=rev
Log:
Fix the elf/rodata.objtext test to work when first run.

Modified:
    lld/trunk/test/elf/rodata.objtxt

Modified: lld/trunk/test/elf/rodata.objtxt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/rodata.objtxt?rev=171992&r1=171991&r2=171992&view=diff
==============================================================================
--- lld/trunk/test/elf/rodata.objtxt (original)
+++ lld/trunk/test/elf/rodata.objtxt Wed Jan  9 14:10:30 2013
@@ -1,7 +1,9 @@
-RUN: lld-core -reader ELF -writer ELF -o %t1 %p/Inputs/rodata-test.i386 | llvm-objdump -section-headers %t1 |  FileCheck -check-prefix=i386 %s
-RUN: lld-core -arch hexagon -reader ELF -writer ELF -o %t2 %p/Inputs/rodata-test.hexagon | llvm-objdump -section-headers %t2 |  FileCheck -check-prefix=hexagon %s
+RUN: lld-core -reader ELF -writer ELF -o %t1 %p/Inputs/rodata-test.i386
+RUN: llvm-objdump -section-headers %t1 |  FileCheck -check-prefix=i386 %s
+RUN: lld-core -arch hexagon -reader ELF -writer ELF -o %t2 \
+RUN:   %p/Inputs/rodata-test.hexagon
+RUN: llvm-objdump -section-headers %t2 |  FileCheck -check-prefix=hexagon %s
 
-  i386: 2 .rodata       000000004
-
-  hexagon: 3 .rodata       000000004
+i386: 2 .rodata       000000004
 
+hexagon: 3 .rodata       000000004





More information about the llvm-commits mailing list