X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FSPARC%2Flit.local.cfg;h=786fee9e6610b179bd3600780e9bd160ee3f58ff;hb=cc85160672e3b2d5ec363cc4e151e5b944a60454;hp=ba81a16057c56fb5c7986f13d179007e16b9c1a7;hpb=d54f9a4c3bcdb247ea4aa311251c19242b03be63;p=oota-llvm.git diff --git a/test/CodeGen/SPARC/lit.local.cfg b/test/CodeGen/SPARC/lit.local.cfg index ba81a16057c..786fee9e661 100644 --- a/test/CodeGen/SPARC/lit.local.cfg +++ b/test/CodeGen/SPARC/lit.local.cfg @@ -1,13 +1,6 @@ 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 'Sparc' in targets: config.unsupported = True