Add missing -target triple to ELF tests.
authorRui Ueyama <ruiu@google.com>
Fri, 7 Nov 2014 01:45:32 +0000 (01:45 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 7 Nov 2014 01:45:32 +0000 (01:45 +0000)
llvm-svn: 221505

lld/test/elf/mergeglobalatoms.test
lld/test/elf/stripped-empty.test

index 06c0e07..e71dca5 100644 (file)
@@ -1,7 +1,7 @@
 # ELF files can have mergeable strings which are global!, treat them as global
 # defined atoms
 RUN: lld -flavor gnu --output-filetype=yaml %p/Inputs/globalconst.o.x86-64 \
-RUN: --noinhibit-exec | FileCheck -check-prefix=globalatoms %s
+RUN: --noinhibit-exec -target x86_64 | FileCheck -check-prefix=globalatoms %s
 
 globalatoms:  - name:            mystr
 globalatoms:    scope:           global
index 1794161..0403808 100644 (file)
@@ -1,3 +1,4 @@
-RUN: lld -flavor gnu -shared -o test.so %p/Inputs/stripped-empty.x86_64
+RUN: lld -flavor gnu -shared -o test.so \
+RUN:   -target x86_64 %p/Inputs/stripped-empty.x86_64
 
 test that we handle files without a symbol table.