Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-919: Jenkins job
[csit.git]
/
resources
/
tools
/
presentation
/
generator_CPTA.py
diff --git
a/resources/tools/presentation/generator_CPTA.py
b/resources/tools/presentation/generator_CPTA.py
index
8ae0662
..
bca5535
100644
(file)
--- 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"
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