summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-01-12 15:58:08 +0000
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2015-01-12 15:58:08 +0000
commitbcfcd28abd3fb800334604320bfd54587d561ec4 (patch)
treec14c626b4e46cd939e614504605c1ca1d1be2593
parent1853de731e22f78fafabee5347135bd8b3c0fd6f (diff)
Debug
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r--test-definitions-ci.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/test-definitions-ci.py b/test-definitions-ci.py
index d91a2f8..d58a2ba 100644
--- a/test-definitions-ci.py
+++ b/test-definitions-ci.py
@@ -47,7 +47,7 @@ def publish_result():
print result_message
f = open('build-error.txt', 'w')
f.write("\n\n")
- #f.write(result_message)
+ f.write(result_message)
#f.write("* TESTBOT: [RESULTS]: Automated test results for patch set: 7f8c46a9eb1029345e0a3c1dd1bbad6cca8eb5c5\n\n")
#f.write("* YAMLVALID: [PASSED]: ./ubuntu/pwrmgmt.yaml\n\n")
#f.write("* YAMLVALID: [PASSED]: ./ubuntu/exec-latency.yaml\n\n")
@@ -55,9 +55,9 @@ def publish_result():
#f.write("\n\n")
#f.write(" ScannerError: while scanning a simple key\n\n")
#f.write(" in '<string>', line 4, column 5:\n\n")
- f.write("description:Test KVM\n\n")
+ #f.write("description:Test KVM\n\n")
#f.write(" ^\n\n")
- f.write(" could not found expected ':'\n\n")
+ #f.write(" could not found expected ':'\n\n")
#f.write(" in '<string>', line 5, column 5:\n\n")
f.write("\n\n")
f.close()
@@ -97,7 +97,8 @@ def validate_yaml(filename):
result_message_list.append("\n\n")
exc_type, exc_value, exc_traceback = sys.exc_info()
for line in traceback.format_exception_only(exc_type, exc_value):
- result_message_list.append(' ' + line.replace("\"", "'"))
+ #result_message_list.append(' ' + line.replace("\"", "'"))
+ result_message_list.append(' ' + line)
publish_result()
exit(1)
@@ -113,7 +114,8 @@ def validate_shell(filename):
result_message_list.append('* CHECKBASHISMS: [WARNING]: %s' % filename)
result_message_list.append('* CHECKBASHISMS: [OUTPUT]:')
for line in e.output.splitlines():
- result_message_list.append(' ' + line.replace("\"", "'").replace("{","\\{").replace("}","\\}"))
+ #result_message_list.append(' ' + line.replace("\"", "'").replace("{","\\{").replace("}","\\}"))
+ result_message_list.append(' ' + line)
publish_result()
exit(1)