Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Tests/Functional/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import os
import platform
import tempfile

import sys
import lit

# Set up lit config.
Expand Down Expand Up @@ -105,3 +105,6 @@ xctest_checker = os.path.join(
'xctest_checker',
'xctest_checker.py')
config.substitutions.append(('%{xctest_checker}', xctest_checker))

# Add Python to run xctest_checker.py tests as part of XCTest tests
config.substitutions.append( ('%{python}', sys.executable) )
1 change: 1 addition & 0 deletions Tests/Functional/xctest_checker/main.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// RUN: %{python} -m unittest discover