Commit graph

3 commits

Author SHA1 Message Date
Max Rossmannek
f35989be0e Enforce Python 3 for unittests
This commit updates all tests to enforce the Python3 executable. This is
necessary because the `assertRegex` function we use was renamed to this
name only in Python 3.2 [1]

For reference:
s;/usr/bin/env python;/usr/bin/env python3;g

[1]: https://docs.python.org/3/library/unittest.html#unittest.TestCase.assertRegex
2020-11-30 00:51:54 -05:00
Renato Alves
ddccfa798c Test: More Python 3 compatibility changes in accessory files 2015-07-17 19:27:58 +01:00
Renato Alves
1371c9616a Test: Add stress_test to find reproducibility test failures
Running stress_test without arguments runs all of the test-suite 100
times (serially) and stops on first failure.
Passing test names as arguments (stress_test bug.123.t ...) will run
only these.
If 100 is found to be too small or too large pass --repeat <integer>.

Run stress_test -h for more information
2015-07-13 11:46:07 +01:00