diff options
Diffstat (limited to 'test/CodeGen/PTX/lit.local.cfg')
-rw-r--r-- | test/CodeGen/PTX/lit.local.cfg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/PTX/lit.local.cfg b/test/CodeGen/PTX/lit.local.cfg new file mode 100644 index 0000000..7399089 --- /dev/null +++ b/test/CodeGen/PTX/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 'PTX' in targets: + config.unsupported = True + |