From: Eli Bendersky Date: Fri, 14 Jun 2013 19:14:52 +0000 (+0000) Subject: Do not to perform RUN line substitution of llc if that's prefixed by a hypnen X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=dafd1a63119dc55af71c4582148ce72d573cdea6;p=oota-llvm.git Do not to perform RUN line substitution of llc if that's prefixed by a hypnen (-llc), similarly to the way it was done for clang and llvmc. This doesn't affect the upstream llvm tests but helps when developing custom LLVM-based tools and testing them within the LLVM regression framework. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183994 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.cfg b/test/lit.cfg index 8272e97c385..b22a038a194 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -201,9 +201,14 @@ if os.pathsep == ';': pathext = os.environ.get('PATHEXT', '').split(';') else: pathext = [''] +# Regex to reject matching a hyphen +NOHYPHEN = r"(?