Switch the test runner to be a Python script.

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

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.

Summary ID
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.
3ac7dda38531428134eaad9fa18459594b592101
Description From Last Updated

F401 'os' imported but unused

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (9f0c21d)
Loading...