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/CodeGen/X86/GC | |
parent | d8d110e08ab3fee8d0a2b758c893b7966fd2d3d8 (diff) | |
download | external_llvm-0f0c411079cd21bb3a81a1b70bf8c67539a16c22.zip external_llvm-0f0c411079cd21bb3a81a1b70bf8c67539a16c22.tar.gz external_llvm-0f0c411079cd21bb3a81a1b70bf8c67539a16c22.tar.bz2 |
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/CodeGen/X86/GC')
-rw-r--r-- | test/CodeGen/X86/GC/dg.exp | 5 | ||||
-rw-r--r-- | test/CodeGen/X86/GC/lit.local.cfg | 13 |
2 files changed, 13 insertions, 5 deletions
diff --git a/test/CodeGen/X86/GC/dg.exp b/test/CodeGen/X86/GC/dg.exp deleted file mode 100644 index 629a147..0000000 --- a/test/CodeGen/X86/GC/dg.exp +++ /dev/null @@ -1,5 +0,0 @@ -load_lib llvm.exp - -if { [llvm_supports_target X86] } { - RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp}]] -} diff --git a/test/CodeGen/X86/GC/lit.local.cfg b/test/CodeGen/X86/GC/lit.local.cfg new file mode 100644 index 0000000..b05ed3c --- /dev/null +++ b/test/CodeGen/X86/GC/lit.local.cfg @@ -0,0 +1,13 @@ +config.suffixes = ['.ll', '.c', '.cpp'] + +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 + |