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/PowerPC/lit.local.cfg | |
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/CodeGen/PowerPC/lit.local.cfg')
-rw-r--r-- | test/CodeGen/PowerPC/lit.local.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/lit.local.cfg b/test/CodeGen/PowerPC/lit.local.cfg new file mode 100644 index 0000000000..5c7f2677f3 --- /dev/null +++ b/test/CodeGen/PowerPC/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 'PowerPC' in targets: + config.unsupported = True + |