summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-21 00:05:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-21 00:05:30 +0000
commitc05f9a60d90bd1468b770aa7997263a5560f3665 (patch)
treec7c7378ee8e109e71ac207708a244282514caea0
parent9a10db8c460876fc1580bcf4a243291f2eadee46 (diff)
downloadbcm5719-llvm-c05f9a60d90bd1468b770aa7997263a5560f3665.tar.gz
bcm5719-llvm-c05f9a60d90bd1468b770aa7997263a5560f3665.zip
Move ARM and X86 specific AsmParser tests into separate subdirectories, and only
run if appropriate target is supported. llvm-svn: 82419
-rw-r--r--llvm/test/MC/AsmParser/ARM/arm_word_directive.s (renamed from llvm/test/MC/AsmParser/arm_word_directive.s)0
-rw-r--r--llvm/test/MC/AsmParser/ARM/dg.exp5
-rw-r--r--llvm/test/MC/AsmParser/X86/dg.exp5
-rw-r--r--llvm/test/MC/AsmParser/X86/x86_instructions.s (renamed from llvm/test/MC/AsmParser/x86_instructions.s)0
-rw-r--r--llvm/test/MC/AsmParser/X86/x86_operands.s (renamed from llvm/test/MC/AsmParser/x86_operands.s)0
-rw-r--r--llvm/test/MC/AsmParser/X86/x86_word_directive.s (renamed from llvm/test/MC/AsmParser/x86_word_directive.s)0
-rw-r--r--llvm/test/MC/AsmParser/dg.exp4
7 files changed, 11 insertions, 3 deletions
diff --git a/llvm/test/MC/AsmParser/arm_word_directive.s b/llvm/test/MC/AsmParser/ARM/arm_word_directive.s
index 78336913169..78336913169 100644
--- a/llvm/test/MC/AsmParser/arm_word_directive.s
+++ b/llvm/test/MC/AsmParser/ARM/arm_word_directive.s
diff --git a/llvm/test/MC/AsmParser/ARM/dg.exp b/llvm/test/MC/AsmParser/ARM/dg.exp
new file mode 100644
index 00000000000..3ff359aab39
--- /dev/null
+++ b/llvm/test/MC/AsmParser/ARM/dg.exp
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if { [llvm_supports_target ARM] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
+}
diff --git a/llvm/test/MC/AsmParser/X86/dg.exp b/llvm/test/MC/AsmParser/X86/dg.exp
new file mode 100644
index 00000000000..629a1477361
--- /dev/null
+++ b/llvm/test/MC/AsmParser/X86/dg.exp
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if { [llvm_supports_target X86] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]]
+}
diff --git a/llvm/test/MC/AsmParser/x86_instructions.s b/llvm/test/MC/AsmParser/X86/x86_instructions.s
index 4c5b698d3fc..4c5b698d3fc 100644
--- a/llvm/test/MC/AsmParser/x86_instructions.s
+++ b/llvm/test/MC/AsmParser/X86/x86_instructions.s
diff --git a/llvm/test/MC/AsmParser/x86_operands.s b/llvm/test/MC/AsmParser/X86/x86_operands.s
index 433c9bf7729..433c9bf7729 100644
--- a/llvm/test/MC/AsmParser/x86_operands.s
+++ b/llvm/test/MC/AsmParser/X86/x86_operands.s
diff --git a/llvm/test/MC/AsmParser/x86_word_directive.s b/llvm/test/MC/AsmParser/X86/x86_word_directive.s
index 2950c8cd5f1..2950c8cd5f1 100644
--- a/llvm/test/MC/AsmParser/x86_word_directive.s
+++ b/llvm/test/MC/AsmParser/X86/x86_word_directive.s
diff --git a/llvm/test/MC/AsmParser/dg.exp b/llvm/test/MC/AsmParser/dg.exp
index ca6aefe9c53..64cb75b20ff 100644
--- a/llvm/test/MC/AsmParser/dg.exp
+++ b/llvm/test/MC/AsmParser/dg.exp
@@ -1,6 +1,4 @@
load_lib llvm.exp
-if { [llvm_supports_target X86] } {
- RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]]
-}
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{s}]]
OpenPOWER on IntegriCloud