You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2020/01/09 17:42:41 UTC
[couchdb] 04/06: Include test reports when uploading logs
This is an automated email from the ASF dual-hosted git repository.
davisp pushed a commit to branch feat/improve-javascript-test-reports
in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 77f66b2b2cfd5bd6e67d6aa490aea4740a2750be
Author: Paul J. Davis <pa...@gmail.com>
AuthorDate: Thu Jan 9 11:41:54 2020 -0600
Include test reports when uploading logs
---
build-aux/logfile-uploader.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/build-aux/logfile-uploader.py b/build-aux/logfile-uploader.py
index 2d90fa4..6fa56da 100755
--- a/build-aux/logfile-uploader.py
+++ b/build-aux/logfile-uploader.py
@@ -36,6 +36,9 @@ def _tojson(req):
def collect_logfiles():
""" Find and tarball all logfiles """
tb = tarfile.open(name=TARFILE, mode="w:gz")
+ # Test results
+ for log in glob.glob("test-results.log"):
+ tb.add(log)
# EUnit
for log in glob.glob("src/*/.eunit/couch.log"):
tb.add(log)