File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,22 @@ the `--library-types` argument.
56
56
Testing
57
57
-------
58
58
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:
62
63
63
64
$ python manage.py test
64
65
65
66
This is just a wrapper passing convenient options to the real testsuite
66
67
driver that is in ` testsuite/testsuite.py ` .
67
68
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
+
68
75
If you want to learn more about this test driver's options (for instance to run
69
76
tests under Valgrind), add a ` -h ` flag.
70
77
You can’t perform that action at this time.
0 commit comments