From df282d7864b369567e5196363e7af2c14128dfef Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Oct 17 2018 13:40:10 +0000 Subject: replace runtests.sh with runtest.py and fix ENTRYPOINT ./dev/run-tests-docker.py stopped working after 1e58bea3 Signed-off-by: Karsten Hopp --- diff --git a/dev/docker/test_env_template b/dev/docker/test_env_template index e7e6994..e2f5dde 100644 --- a/dev/docker/test_env_template +++ b/dev/docker/test_env_template @@ -8,5 +8,5 @@ RUN $pkg_mgr install -y $pkg_list \ ENV LC_ALL=C.UTF-8 LANG=C.UTF-8 WORKDIR /code -ENTRYPOINT ["/code/runtests.sh"] -CMD [] \ No newline at end of file +ENTRYPOINT [ "/code/runtests.py", "run" ] +CMD [] diff --git a/dev/run-tests-docker.py b/dev/run-tests-docker.py index f1531ac..4cff364 100755 --- a/dev/run-tests-docker.py +++ b/dev/run-tests-docker.py @@ -13,7 +13,7 @@ PKG_LIST = 'python-alembic python-arrow python-binaryornot \ \n'\ 'python-markdown python-munch python-openid-cla python-openid-teams \ \n'\ 'python-psutil python-pygit2 python2-pillow \ \n'\ 'python-sqlalchemy python-straight-plugin python-wtforms python-nose \ \n'\ - 'python-coverage python-mock python-mock python-eventlet python2-flask-oidc \ \n'\ + 'python3-coverage python-mock python-mock python-eventlet python2-flask-oidc \ \n'\ 'python-flake8 python-celery python-redis python-trololio python-beautifulsoup4 redis vim git' diff --git a/doc/usage/pr_custom_page.rst b/doc/usage/pr_custom_page.rst index b209232..203eb4b 100644 --- a/doc/usage/pr_custom_page.rst +++ b/doc/usage/pr_custom_page.rst @@ -46,7 +46,7 @@ And place in this file the following content: When creating a pull-request against test, there are couple of items to do that will speed up the review process: - * Ensure the unit-tests are all passing (cf the ``runtests.sh`` script at the + * Ensure the unit-tests are all passing (cf the ``runtests.py`` script at the top level of the sources) * Check if your changes are [pep8](https://www.python.org/dev/peps/pep-0008/) compliant for this you can install ``python-pep8`` and run the ``pep8`` CLI