From: Alp Toker Date: Sat, 19 Apr 2014 19:07:31 +0000 (+0000) Subject: Disallow driver use in more Sema tests X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3eb0b40068340eaf0a269bda288d2fcca29262ef;p=clang Disallow driver use in more Sema tests There are now only a handful of Sema tests remaining that use %clang in SemaCXX, SemaObjC and SemaTemplate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206688 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaCUDA/lit.local.cfg b/test/SemaCUDA/lit.local.cfg new file mode 100644 index 0000000000..f4ef5d2fa0 --- /dev/null +++ b/test/SemaCUDA/lit.local.cfg @@ -0,0 +1,4 @@ +config.substitutions = list(config.substitutions) +config.substitutions.insert(0, + (r'%clang\b', + """*** Do not use the driver in Sema tests. ***""") ) diff --git a/test/SemaObjCXX/lit.local.cfg b/test/SemaObjCXX/lit.local.cfg new file mode 100644 index 0000000000..f4ef5d2fa0 --- /dev/null +++ b/test/SemaObjCXX/lit.local.cfg @@ -0,0 +1,4 @@ +config.substitutions = list(config.substitutions) +config.substitutions.insert(0, + (r'%clang\b', + """*** Do not use the driver in Sema tests. ***""") ) diff --git a/test/SemaOpenCL/lit.local.cfg b/test/SemaOpenCL/lit.local.cfg new file mode 100644 index 0000000000..f4ef5d2fa0 --- /dev/null +++ b/test/SemaOpenCL/lit.local.cfg @@ -0,0 +1,4 @@ +config.substitutions = list(config.substitutions) +config.substitutions.insert(0, + (r'%clang\b', + """*** Do not use the driver in Sema tests. ***""") )