diff options
author | Tibor Frank <tifrank@cisco.com> | 2018-03-26 11:02:54 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2018-03-26 11:02:54 +0200 |
commit | 3458e725729098a6c10f68ec4a05d7256984bcdc (patch) | |
tree | 8ddadaf18216bf781e7c4e5bd908df2948a02e58 /resources/tools/presentation/generator_CPTA.py | |
parent | aaa58d348c375f80e65dfdf62a679dd0cbac4411 (diff) |
CSIT-919: Jenkins job
Change-Id: I8ed4a8e135ebbebc7799a633872a50293eb410af
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/generator_CPTA.py')
-rw-r--r-- | resources/tools/presentation/generator_CPTA.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index 8ae0662e36..bca5535d43 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -462,9 +462,8 @@ def _generate_all_charts(spec, input_data): result = "PASS" elif item == 0.33 or item == 0.0: result = "FAIL" - print(results) - print(result) - if result == "FAIL": - return 1 - else: - return 0 + + logging.info("Partial results: {0}".format(results)) + logging.info("Result: {0}".format(result)) + + return result |