diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-01-12 16:00:06 +0000 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2015-01-12 16:00:06 +0000 |
commit | fa2bb668666b95e67bfd889953c902d521133137 (patch) | |
tree | cfc6a41b530940e0cba91ebc84a293efe24f0fd9 | |
parent | bcfcd28abd3fb800334604320bfd54587d561ec4 (diff) |
Debug
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
-rw-r--r-- | test-definitions-ci.py | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/test-definitions-ci.py b/test-definitions-ci.py index d58a2ba..89aae35 100644 --- a/test-definitions-ci.py +++ b/test-definitions-ci.py @@ -37,28 +37,17 @@ def notify_committer(): message_list.append('* Your patch set %s has triggered automated testing.' % os.environ['GERRIT_PATCHSET_REVISION']) message_list.append('* Please do not merge this commit until after I have reviewed the results with you.') message_list.append('* %s' % os.environ['BUILD_URL']) - message = '\n\n'.join(message_list) + message = '\n'.join(message_list) if debug: print message def publish_result(): - result_message = '\n\n'.join(result_message_list) + result_message = '\n'.join(result_message_list) if debug: print result_message f = open('build-error.txt', 'w') f.write("\n\n") 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") - #f.write("* YAMLVALID: [FAILED]: ./ubuntu/kvm.yaml\n\n") - #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(" ^\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() sys.stderr.write(result_message) @@ -142,7 +131,7 @@ def main(ignore_options): else: print 'All required environment variables have not been set...exiting' exit(1) - notify_committer() + #notify_committer() init() #checkout_and_rebase() # disable pep8 for now |