diff options
author | 2016-03-11 14:12:37 +0200 | |
---|---|---|
committer | 2016-03-11 14:12:37 +0200 | |
commit | aa15917210fa439c5fe04230db085345905699ec (patch) | |
tree | b4995b9396ab66b500c4d5f315975ac97c33454c /scripts/automation | |
parent | de9447ae4f52fb588157fc0eea27652a5f30d6c0 (diff) |
regression: add error print
Diffstat (limited to 'scripts/automation')
-rwxr-xr-x | scripts/automation/regression/trex_unit_test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/automation/regression/trex_unit_test.py b/scripts/automation/regression/trex_unit_test.py index c90d5bdc..67b74fea 100755 --- a/scripts/automation/regression/trex_unit_test.py +++ b/scripts/automation/regression/trex_unit_test.py @@ -332,6 +332,8 @@ if __name__ == "__main__": if xml_arg: additional_args += ['--with-xunit', xml_arg.replace('.xml', '_stateless.xml')] result = result and nose.run(argv = nose_argv + additional_args, addplugins = [red_nose, config_plugin]) + except Exception as e: + print e finally: save_setup_info() |