This commit does a few things:
- Improve the UX by using argparse which gives us a nice --help
- Support py2 and py3 (default to py3, switches via --py2)
- Allows running a single file (./runpaguretests.py --py2 ../tests/test_style.py)
- Adds a -f/--force option to clear up the results folder if present
- Move the list of failed tests into the results folder (easier to clean afterward)
- Allows specifying a results folder
- Run black on the code (sorry this should have been a separate commit :()
This commit does a few things:
- Improve the UX by using argparse which gives us a nice --help
- Support py2 and py3 (default to py3, switches via --py2)
- Allows running a single file (./runpaguretests.py --py2 ../tests/test_style.py)
- Adds a -f/--force option to clear up the results folder if present
- Move the list of failed tests into the results folder (easier to clean afterward)
- Allows specifying a results folder
- Run black on the code (sorry this should have been a separate commit :()
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr