Skip to content

Commit 28010df

Browse files
committed
README.md: clarify testsuite requirements
TN: UB09-031
1 parent 177b800 commit 28010df

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,22 @@ the `--library-types` argument.
5656
Testing
5757
-------
5858

59-
First, make sure the langkit package is available from the Python interpreter
60-
(see Install). Then, in order to run the testsuite, launch the following
61-
command from the top-level directory:
59+
Unlike the rest of Langkit, the testsuite framework requires Python 3.8 or
60+
later versions. Make sure the `langkit` package is available from the Python
61+
interpreter (see Install). Then, in order to run the testsuite, launch the
62+
following command from the top-level directory:
6263

6364
$ python manage.py test
6465

6566
This is just a wrapper passing convenient options to the real testsuite
6667
driver that is in `testsuite/testsuite.py`.
6768

69+
Note that even though the testsuite framework requires Python 3.8, it is
70+
possible to run the tests themselves using a different Python interpreter. For
71+
instance, to run them using Python 3.7, run:
72+
73+
$ python manage.py test --with-python=python3.7
74+
6875
If you want to learn more about this test driver's options (for instance to run
6976
tests under Valgrind), add a `-h` flag.
7077

0 commit comments

Comments
 (0)