diff options
author | Eli Bendersky <eli.bendersky@intel.com> | 2012-02-16 06:28:33 +0000 |
---|---|---|
committer | Eli Bendersky <eli.bendersky@intel.com> | 2012-02-16 06:28:33 +0000 |
commit | 0f0c411079cd21bb3a81a1b70bf8c67539a16c22 (patch) | |
tree | c387d12156e467f3fe89e7893e3ec1f330a44b2f /test/Object | |
parent | d8d110e08ab3fee8d0a2b758c893b7966fd2d3d8 (diff) |
Replace all instances of dg.exp file with lit.local.cfg, since all tests are run with LIT now and now Dejagnu. dg.exp is no longer needed.
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Object')
-rw-r--r-- | test/Object/X86/dg.exp | 5 | ||||
-rw-r--r-- | test/Object/X86/lit.local.cfg | 13 | ||||
-rw-r--r-- | test/Object/dg.exp | 3 | ||||
-rw-r--r-- | test/Object/lit.local.cfg | 1 |
4 files changed, 14 insertions, 8 deletions
diff --git a/test/Object/X86/dg.exp b/test/Object/X86/dg.exp deleted file mode 100644 index 6a91de70ca..0000000000 --- a/test/Object/X86/dg.exp +++ /dev/null @@ -1,5 +0,0 @@ -load_lib llvm.exp - -if { [llvm_supports_target X86] } { - RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{test}]] -} diff --git a/test/Object/X86/lit.local.cfg b/test/Object/X86/lit.local.cfg new file mode 100644 index 0000000000..bbffb847bd --- /dev/null +++ b/test/Object/X86/lit.local.cfg @@ -0,0 +1,13 @@ +config.suffixes = ['.test'] + +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 + diff --git a/test/Object/dg.exp b/test/Object/dg.exp deleted file mode 100644 index be82c51392..0000000000 --- a/test/Object/dg.exp +++ /dev/null @@ -1,3 +0,0 @@ -load_lib llvm.exp - -RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{test}]] diff --git a/test/Object/lit.local.cfg b/test/Object/lit.local.cfg new file mode 100644 index 0000000000..df9b335dd1 --- /dev/null +++ b/test/Object/lit.local.cfg @@ -0,0 +1 @@ +config.suffixes = ['.test'] |