diff options
author | Michael Abel <75477722+abelikt@users.noreply.github.com> | 2021-12-07 15:26:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 15:26:14 +0100 |
commit | 13c6cd0195bbcf0ebc917d02d8dea4bf744635a7 (patch) | |
tree | fe4814e9fe39863a289ca95faf6fcfd577943495 /ci/ci_run_all_plugin_tests.sh | |
parent | 82b76d7ab7d075f86da42b8ef3d6de31e7786fdf (diff) |
[CIT-623] Enable recording for all PySys calls (#670)
* Enable recording for all PySys calls
Avoid to stop when the execution fails (wrap around set +e & -e).
Move report folder, so that it won't be overridden.
Signed-off-by: Michael Abel <info@abel-ikt.de>
* Enable xml and csv report writers for PySys
Diffstat (limited to 'ci/ci_run_all_plugin_tests.sh')
-rwxr-xr-x | ci/ci_run_all_plugin_tests.sh | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ci/ci_run_all_plugin_tests.sh b/ci/ci_run_all_plugin_tests.sh index 9e29d7e1..3505e2c0 100755 --- a/ci/ci_run_all_plugin_tests.sh +++ b/ci/ci_run_all_plugin_tests.sh @@ -30,11 +30,19 @@ cd tests/PySys/ sudo tedge config set software.plugin.default apt -pysys.py run -v DEBUG 'apt_*' -XmyPlatform='container' +set +e +pysys.py run --record -v DEBUG 'apt_*' -XmyPlatform='container' +set -e + +mv __pysys_junit_xml pysys_junit_xml_apt sudo cp ../../plugins/tedge_docker_plugin/tedge_docker_plugin.sh /etc/tedge/sm-plugins/docker -pysys.py run -v DEBUG 'docker_*' -XmyPlatform='container' -Xdockerplugin='dockerplugin' +set +e +pysys.py run --record -v DEBUG 'docker_*' -XmyPlatform='container' -Xdockerplugin='dockerplugin' +set -e + +mv __pysys_junit_xml pysys_junit_xml_docker sudo rm -f /etc/tedge/sm-plugins/docker |