We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ad8a7f0 + 267a910 commit d8ad0e1Copy full SHA for d8ad0e1
Tests/Functional/lit.cfg
@@ -11,7 +11,7 @@
11
import os
12
import platform
13
import tempfile
14
-
+import sys
15
import lit
16
17
# Set up lit config.
@@ -105,3 +105,6 @@ xctest_checker = os.path.join(
105
'xctest_checker',
106
'xctest_checker.py')
107
config.substitutions.append(('%{xctest_checker}', xctest_checker))
108
+
109
+# Add Python to run xctest_checker.py tests as part of XCTest tests
110
+config.substitutions.append( ('%{python}', sys.executable) )
Tests/Functional/xctest_checker/main.swift
@@ -0,0 +1 @@
1
+// RUN: %{python} -m unittest discover
0 commit comments