diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-11-28 10:38:02 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-11-28 10:38:02 +0200 |
commit | e8b8d90d18408b222a05950257daccbddd7d6926 (patch) | |
tree | c1d999c1fd0016c9982cca8707f2b4f687e70bce /check | |
parent | 335478a004afc442820862c188f7378595a6b8bb (diff) | |
parent | 24960b9bd1e53e970b9a9796c268ce58cd5eff93 (diff) | |
download | cmdtest-e8b8d90d18408b222a05950257daccbddd7d6926.tar.gz |
Change: port to Python3, drop Python2 support
This is a combination of changes made by Richard Ipsum <richardipsum@vx21.xyz>
and Antonio Terceiro <terceiro@debian.org> to port cmdtest and yarn to
Python3. They both provided patches for Python3 support, and I merged the
changes. The actual work was done by Richard and Antonio.
Diffstat (limited to 'check')
-rwxr-xr-x | check | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,5 +1,15 @@ #!/bin/sh +# +# Run unit and integration tests. set -eu +python3 -m unittest discover -p '*tests.py' + +./cmdtest echo-tests + +./cmdtest sort-tests + +./cmdtest fail-tests && echo "fail-tests did not fail!" && exit 1 + ./cmdtest yarn.tests |