summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/lit.local.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/R600/lit.local.cfg')
-rw-r--r--test/CodeGen/R600/lit.local.cfg12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/CodeGen/R600/lit.local.cfg b/test/CodeGen/R600/lit.local.cfg
index 36ee493e59..2d8930ad0e 100644
--- a/test/CodeGen/R600/lit.local.cfg
+++ b/test/CodeGen/R600/lit.local.cfg
@@ -1,13 +1,3 @@
-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())
+targets = set(config.root.targets_to_build.split())
if not 'R600' in targets:
config.unsupported = True
-