Skip to content

Commit

Permalink
README.md: clarify testsuite requirements
Browse files Browse the repository at this point in the history
TN: UB09-031
  • Loading branch information
pmderodat committed Nov 10, 2021
1 parent 177b800 commit 28010df
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,22 @@ the `--library-types` argument.
Testing
-------

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

$ python manage.py test

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

Note that even though the testsuite framework requires Python 3.8, it is
possible to run the tests themselves using a different Python interpreter. For
instance, to run them using Python 3.7, run:

$ python manage.py test --with-python=python3.7

If you want to learn more about this test driver's options (for instance to run
tests under Valgrind), add a `-h` flag.

Expand Down

0 comments on commit 28010df

Please sign in to comment.