]> git.ipfire.org Git - thirdparty/bind9.git/commit
Clean up convert-trs-to-junit.py invocations
authorMichał Kępień <michal@isc.org>
Wed, 22 Jun 2022 10:59:33 +0000 (12:59 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 22 Jun 2022 10:59:33 +0000 (12:59 +0200)
commit2cd20ee3702b72456197ffd2f612b506795d8a10
tree1c96a1f1b221bb9ae654f11c89be9b7ffe1dab53
parente6aebf10cc9d294edd3694a9e53504548d6046fd
Clean up convert-trs-to-junit.py invocations

  - Use absolute paths when invoking the convert-trs-to-junit.py script
    so that it also works correctly for out-of-tree and tarball-based
    test jobs.

  - Quote the variables used in convert-trs-to-junit.py invocations to
    future-proof the code.

  - Use "&&" instead of ";" in shell pipelines invoking the
    convert-trs-to-junit.py script in order to prevent "source" errors
    from being silently ignored.

  - Ensure convert-trs-to-junit.py is invoked from the correct directory
    for out-of-tree and tarball-based unit test jobs by adding
    appropriate "cd" invocations.

  - Ensure the convert-trs-to-junit.py invocations are always the last
    step in each 'after_script', in order to run that script from the
    correct directory for out-of-tree and tarball-based system test jobs
    and to ensure that any potential errors in that script do not
    prevent more important steps in the 'after_script' from being
    executed.
.gitlab-ci.yml