Commit a235cd0c authored by Vincent A's avatar Vincent A Committed by Florent Fourcot

docs: document "-3" flags for pyflakes and run_tests

parent 0b7da57c
......@@ -25,6 +25,11 @@ You can run these scripts to be sure your patch doesn't break anything::
$ tools/
$ tools/ yourmodulename # or without yourmodulename to test everything
To aid in verifying Python 3 compatibility, also run::
$ tools/ -3
$ tools/ -3 yourmodulename
Perhaps you should also write or fix tests. These tests are automatically run by
`Gitlab CI <>`_ at each commit and merge requests.
......@@ -23,6 +23,14 @@ Then, it run every method which name starts with ``test_``.
Some environment variables are available, to use specific backend file or send the test results. Refer to `the
comments in the script <>`_ for more infos on this.
If a module name is passed as argument, only this module will be tested. For example, to only run ``lutim`` tests::
$ tools/ lutim
To test with a Python 3 interpreter, set the ``-3`` flag (before all other arguments)::
$ tools/ -3
Write a test case
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment