aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC
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
commit096f10a51b037861069e280020dd2967fdce6b6e (patch)
tree4466d99eff26ca49e40003ee7020da46cbadfaae /test/MC
parent738b4f2a7d37600af45fc6a5515d5a5be175d19e (diff)
downloadexternal_llvm-096f10a51b037861069e280020dd2967fdce6b6e.zip
external_llvm-096f10a51b037861069e280020dd2967fdce6b6e.tar.gz
external_llvm-096f10a51b037861069e280020dd2967fdce6b6e.tar.bz2
Move ARM and X86 specific AsmParser tests into separate subdirectories, and only
run if appropriate target is supported. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82419 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/AsmParser/ARM/arm_word_directive.s (renamed from test/MC/AsmParser/arm_word_directive.s)0
-rw-r--r--test/MC/AsmParser/ARM/dg.exp5
-rw-r--r--test/MC/AsmParser/X86/dg.exp5
-rw-r--r--test/MC/AsmParser/X86/x86_instructions.s (renamed from test/MC/AsmParser/x86_instructions.s)0
-rw-r--r--test/MC/AsmParser/X86/x86_operands.s (renamed from test/MC/AsmParser/x86_operands.s)0
-rw-r--r--test/MC/AsmParser/X86/x86_word_directive.s (renamed from test/MC/AsmParser/x86_word_directive.s)0
-rw-r--r--test/MC/AsmParser/dg.exp4
7 files changed, 11 insertions, 3 deletions
diff --git a/test/MC/AsmParser/arm_word_directive.s b/test/MC/AsmParser/ARM/arm_word_directive.s
index 7833691..7833691 100644
--- a/test/MC/AsmParser/arm_word_directive.s
+++ b/test/MC/AsmParser/ARM/arm_word_directive.s
diff --git a/test/MC/AsmParser/ARM/dg.exp b/test/MC/AsmParser/ARM/dg.exp
new file mode 100644
index 0000000..3ff359a
--- /dev/null
+++ b/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/test/MC/AsmParser/X86/dg.exp b/test/MC/AsmParser/X86/dg.exp
new file mode 100644
index 0000000..629a147
--- /dev/null
+++ b/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/test/MC/AsmParser/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s
index 4c5b698..4c5b698 100644
--- a/test/MC/AsmParser/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
diff --git a/test/MC/AsmParser/x86_operands.s b/test/MC/AsmParser/X86/x86_operands.s
index 433c9bf..433c9bf 100644
--- a/test/MC/AsmParser/x86_operands.s
+++ b/test/MC/AsmParser/X86/x86_operands.s
diff --git a/test/MC/AsmParser/x86_word_directive.s b/test/MC/AsmParser/X86/x86_word_directive.s
index 2950c8c..2950c8c 100644
--- a/test/MC/AsmParser/x86_word_directive.s
+++ b/test/MC/AsmParser/X86/x86_word_directive.s
diff --git a/test/MC/AsmParser/dg.exp b/test/MC/AsmParser/dg.exp
index ca6aefe..64cb75b 100644
--- a/test/MC/AsmParser/dg.exp
+++ b/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}]]