Skip to content

Commit 7035ea6

Browse files
committed
[dexter] Remove lit check for python 3
This is checking the version of Python used to run lit, which is not necessarily the same as the version used to run the dexter tests. If the tests are run via the build/bin/llvm-lit[.py] helper script, then that is likely to pick up whatever version of Python is on PATH. Conventionally, this will find Python 2. CMake already checks that Python 3 is in use and puts the path to it in the lit site config, so this check is redundant, and Python 3 will ultimately be used to run dexter. Reviewers: jmorse Differential Revision: https://reviews.llvm.org/D69724
1 parent 00e53d9 commit 7035ea6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
11
config.name = "DExTer feature tests"
22
config.suffixes = ['.cpp', '.c', '.test']
3-
4-
# Dexter requires python3
5-
6-
import sys
7-
if sys.version_info.major < 3:
8-
config.unsupported = True

0 commit comments

Comments
 (0)