Switch the test runner to be a Python script.

Review Request #11664 — Created June 20, 2021 and submitted — Latest diff uploaded

Information

rbintegrations
release-2.0.x

Reviewers

A previous change introduced a runtests.sh script, which ran the unit
tests using rbext. 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 the RBExt() class, passing in the
required arguments. So long as rbext 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

First Last Summary ID Author
Switch the test runner to be a Python script.
A previous change introduced a `runtests.sh` script, which ran the unit tests using `rbext`. 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 the `RBExt()` class, passing in the required arguments. So long as `rbext` is installed with that version of Python, it will work.
9261e9ccce4a923440e834fe943e38da7e5e1bbf Christian Hammond
tests/runtests.py
tests/runtests.sh
Loading...