Switch the test runner to be a Python script.
Review Request #11664 — Created June 20, 2021 and submitted — Latest diff uploaded
A previous change introduced a
runtests.sh
script, which ran the unit
tests usingrbext
. Doing this as a shell script was simple, but
unfortunately it made it hard to run with different versions of Python.This change switches this to a Python script, which can easily be run
with any version of Python. It wraps theRBExt()
class, passing in the
required arguments. So long asrbext
is installed with that version of
Python, it will work.
Ran the unit test suite with multiple versions of Python.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
Commits
Files
tests/runtests.py | ||
tests/runtests.sh | Deleted |
tests/runtests.py |
---|
tests/runtests.sh |
---|