diff options
Diffstat (limited to 'test/MC/ELF')
-rw-r--r-- | test/MC/ELF/dg.exp | 5 | ||||
-rw-r--r-- | test/MC/ELF/lit.local.cfg | 13 |
2 files changed, 13 insertions, 5 deletions
diff --git a/test/MC/ELF/dg.exp b/test/MC/ELF/dg.exp deleted file mode 100644 index d46d700975..0000000000 --- a/test/MC/ELF/dg.exp +++ /dev/null @@ -1,5 +0,0 @@ -load_lib llvm.exp - -if { [llvm_supports_target X86] } { - RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,s}]] -} diff --git a/test/MC/ELF/lit.local.cfg b/test/MC/ELF/lit.local.cfg new file mode 100644 index 0000000000..461c6f4f2b --- /dev/null +++ b/test/MC/ELF/lit.local.cfg @@ -0,0 +1,13 @@ +config.suffixes = ['.ll', '.s'] + +def getRoot(config): + if not config.parent: + return config + return getRoot(config.parent) + +root = getRoot(config) + +targets = set(root.targets_to_build.split()) +if not 'X86' in targets: + config.unsupported = True + |