storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [1/3] storm git commit: print the information of testcase which is on failure
Date Mon, 07 Mar 2016 19:09:36 GMT
Repository: storm
Updated Branches:
  refs/heads/master 7a4824b7f -> 78d3c48e5


print the  information of testcase which is on failure


Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/812031ff
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/812031ff
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/812031ff

Branch: refs/heads/master
Commit: 812031ff7e3017dfcbff4c3434fbd3c2437dcb33
Parents: 96f81d7
Author: xiaojian.fxj <xiaojian.fxj@alibaba-inc.com>
Authored: Sun Mar 6 16:24:22 2016 +0800
Committer: xiaojian.fxj <xiaojian.fxj@alibaba-inc.com>
Committed: Sun Mar 6 16:24:22 2016 +0800

----------------------------------------------------------------------
 dev-tools/travis/print-errors-from-test-reports.py | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/812031ff/dev-tools/travis/print-errors-from-test-reports.py
----------------------------------------------------------------------
diff --git a/dev-tools/travis/print-errors-from-test-reports.py b/dev-tools/travis/print-errors-from-test-reports.py
index a91f49d..72af6d5 100644
--- a/dev-tools/travis/print-errors-from-test-reports.py
+++ b/dev-tools/travis/print-errors-from-test-reports.py
@@ -55,6 +55,10 @@ def print_error_reports_from_report_file(file_path):
         if fail is not None:
             print_detail_information(testcase, fail)
 
+        failure = testcase.find("failure")
+        if failure is not None:
+            print_detail_information(testcase, failure)
+
 
 def main(report_dir_path):
     for test_report in glob.iglob(report_dir_path + '/*.xml'):


Mime
View raw message