X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_CPTA.py;h=bca5535d43c53eda986314415591853f38a8782b;hp=8ae0662e365e1a5936697feb94333ce8795903be;hb=3458e725729098a6c10f68ec4a05d7256984bcdc;hpb=aaa58d348c375f80e65dfdf62a679dd0cbac4411 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