t/steadystate_tests: better support automated testing
authorVincent Fu <vincent.fu@wdc.com>
Tue, 29 Oct 2019 10:09:54 +0000 (06:09 -0400)
committerVincent Fu <vincent.fu@wdc.com>
Wed, 6 Nov 2019 16:18:59 +0000 (11:18 -0500)
commitcd22f80150cebf0186f720ae3cdf93c914f84d95
treefa571fc60068bd1ef184bb906a3852c0abd99f9f
parent022a89461449b71b349e20ac58591488fc236884
t/steadystate_tests: better support automated testing

To better support using this script for automated testing, do the
following:

- Use a more portable python interpreter reference
- Drop six.moves dependency
- Eliminate two potential divide-by-zero runtime errors
- Count and report the number of passed and failed tests
- Keep the output of the test jobs for inspection in case of failure
- Exit code 0 if all tests pass and non-zero otherwise
t/steadystate_tests.py