summaryrefslogtreecommitdiff
path: root/test/CodeGen/R600/lit.local.cfg
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-07-16 14:17:19 +0000
committerTom Stellard <thomas.stellard@amd.com>2012-07-16 14:17:19 +0000
commit2015236dfcd40f0b93e7d9f6dc4c380dc88bf3c0 (patch)
tree2ca77afdd1529abf279b96bc81df8d18b8a625ec /test/CodeGen/R600/lit.local.cfg
parenta93c8a89c148a92a4234e0dcc76231b13bebc4e7 (diff)
downloadllvm-2015236dfcd40f0b93e7d9f6dc4c380dc88bf3c0.tar.gz
llvm-2015236dfcd40f0b93e7d9f6dc4c380dc88bf3c0.tar.bz2
llvm-2015236dfcd40f0b93e7d9f6dc4c380dc88bf3c0.tar.xz
test/CodeGen/R600: Add some basic tests v6
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160273 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/R600/lit.local.cfg')
-rw-r--r--test/CodeGen/R600/lit.local.cfg13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/R600/lit.local.cfg b/test/CodeGen/R600/lit.local.cfg
new file mode 100644
index 0000000000..79fc2ba362
--- /dev/null
+++ b/test/CodeGen/R600/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 'AMDGPU' in targets:
+ config.unsupported = True
+