diff options
author | vamahaja <vamahaja@redhat.com> | 2019-11-15 12:39:41 +0530 |
---|---|---|
committer | vamahaja <vamahaja@redhat.com> | 2019-11-15 15:06:52 +0530 |
commit | 8f570b1891cf8184f91e4be23abbb000b8a11f7a (patch) | |
tree | 33e5adb1a38d3df666c4dd8aec3981ae1ea96e3a /tox.ini | |
parent | 0c8f9389732a35682b5da03a1d86352e3fdcdb68 (diff) |
Add "pytest-custom-exit-code" plugin in tox.ini
This plugin is used to suppress failed exit code with option -
--suppress-tests-failed-exit-code
e.g:
tox -e functional -- glusto -c gct_config.yaml \
'--pytest=-v -s tests -k test_check_bmux_enabled \
--junitxml gct_results.xml \
--suppress-tests-failed-exit-code' \
--log gct_logs.log
Change-Id: Ic2b6041d554ec737982844fc6ac8b4840b3947e1
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -26,6 +26,7 @@ commands = rtyaml \ ddt \ pyvmomi \ + pytest-custom-exit-code \ prometheus_client>=0.4.2 \ git+git://github.com/loadtheaccumulator/glusto.git \ "git+git://github.com/gluster/glusto-tests.git#egg=glustolibs-gluster&subdirectory=glustolibs-gluster" \ @@ -45,6 +46,7 @@ commands = rtyaml \ ddt \ pyvmomi \ + pytest-custom-exit-code \ prometheus_client>=0.4.2 \ git+git://github.com/loadtheaccumulator/glusto.git@python3_port1 \ "git+git://github.com/gluster/glusto-tests.git#egg=glustolibs-gluster&subdirectory=glustolibs-gluster" \ |