]> granicus.if.org Git - clang/commitdiff
Disallow driver use in more Sema tests
authorAlp Toker <alp@nuanti.com>
Sat, 19 Apr 2014 19:07:31 +0000 (19:07 +0000)
committerAlp Toker <alp@nuanti.com>
Sat, 19 Apr 2014 19:07:31 +0000 (19:07 +0000)
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

test/SemaCUDA/lit.local.cfg [new file with mode: 0644]
test/SemaObjCXX/lit.local.cfg [new file with mode: 0644]
test/SemaOpenCL/lit.local.cfg [new file with mode: 0644]

diff --git a/test/SemaCUDA/lit.local.cfg b/test/SemaCUDA/lit.local.cfg
new file mode 100644 (file)
index 0000000..f4ef5d2
--- /dev/null
@@ -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 (file)
index 0000000..f4ef5d2
--- /dev/null
@@ -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 (file)
index 0000000..f4ef5d2
--- /dev/null
@@ -0,0 +1,4 @@
+config.substitutions = list(config.substitutions)
+config.substitutions.insert(0,
+    (r'%clang\b',
+     """*** Do not use the driver in Sema tests. ***""") )