aboutsummaryrefslogtreecommitdiffstats
path: root/test/Object
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-01 03:21:48 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-01 03:21:48 +0000
commitdc9414d62f8ddfb24fa7e640f61266d62083080a (patch)
tree5035c0e73c39efe39751a62c7fd952dd71be74d8 /test/Object
parent50ea611e2cf8772f7e4defde5a94d86a97fde5d5 (diff)
downloadexternal_llvm-dc9414d62f8ddfb24fa7e640f61266d62083080a.zip
external_llvm-dc9414d62f8ddfb24fa7e640f61266d62083080a.tar.gz
external_llvm-dc9414d62f8ddfb24fa7e640f61266d62083080a.tar.bz2
Move x86-specific tests into X86 folder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143424 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object')
-rw-r--r--test/Object/X86/dg.exp5
-rw-r--r--test/Object/X86/objdump-disassembly-inline-relocations.test (renamed from test/Object/objdump-disassembly-inline-relocations.test)4
-rw-r--r--test/Object/X86/objdump-trivial-object.test (renamed from test/Object/objdump-trivial-object.test)8
3 files changed, 11 insertions, 6 deletions
diff --git a/test/Object/X86/dg.exp b/test/Object/X86/dg.exp
new file mode 100644
index 0000000..6a91de7
--- /dev/null
+++ b/test/Object/X86/dg.exp
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if { [llvm_supports_target X86] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{test}]]
+}
diff --git a/test/Object/objdump-disassembly-inline-relocations.test b/test/Object/X86/objdump-disassembly-inline-relocations.test
index 1e8b72a..a5875f6 100644
--- a/test/Object/objdump-disassembly-inline-relocations.test
+++ b/test/Object/X86/objdump-disassembly-inline-relocations.test
@@ -1,6 +1,6 @@
-RUN: llvm-objdump -d -r %p/Inputs/trivial-object-test.coff-i386 \
+RUN: llvm-objdump -d -r %p/../Inputs/trivial-object-test.coff-i386 \
RUN: | FileCheck %s -check-prefix COFF-i386
-RUN: llvm-objdump -d -r %p/Inputs/trivial-object-test.coff-x86-64 \
+RUN: llvm-objdump -d -r %p/../Inputs/trivial-object-test.coff-x86-64 \
RUN: | FileCheck %s -check-prefix COFF-x86-64
COFF-i386: file format COFF-i386
diff --git a/test/Object/objdump-trivial-object.test b/test/Object/X86/objdump-trivial-object.test
index 951cd40..8f9ea97 100644
--- a/test/Object/objdump-trivial-object.test
+++ b/test/Object/X86/objdump-trivial-object.test
@@ -1,10 +1,10 @@
-RUN: llvm-objdump -d %p/Inputs/trivial-object-test.coff-i386 \
+RUN: llvm-objdump -d %p/../Inputs/trivial-object-test.coff-i386 \
RUN: | FileCheck %s -check-prefix COFF-i386
-RUN: llvm-objdump -d %p/Inputs/trivial-object-test.coff-x86-64 \
+RUN: llvm-objdump -d %p/../Inputs/trivial-object-test.coff-x86-64 \
RUN: | FileCheck %s -check-prefix COFF-x86-64
-RUN: llvm-objdump -d %p/Inputs/trivial-object-test.elf-i386 \
+RUN: llvm-objdump -d %p/../Inputs/trivial-object-test.elf-i386 \
RUN: | FileCheck %s -check-prefix ELF-i386
-RUN: llvm-objdump -d %p/Inputs/trivial-object-test.elf-x86-64 \
+RUN: llvm-objdump -d %p/../Inputs/trivial-object-test.elf-x86-64 \
RUN: | FileCheck %s -check-prefix ELF-x86-64
COFF-i386: file format COFF-i386