[tor-commits] [tor/release-0.4.0] Travis: Show stem's tor log after failure

nickm at torproject.org nickm at torproject.org
Wed Jun 5 20:24:25 UTC 2019


commit 9a97b5ff56fc6f29d93ee515eb7244fe4db34c66
Author: teor <teor at torproject.org>
Date:   Mon Apr 22 11:48:07 2019 +1000

    Travis: Show stem's tor log after failure
    
    Closes ticket 30234.
---
 .travis.yml         | 1 +
 changes/ticket30234 | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 89040d822..1b04fa48f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -225,6 +225,7 @@ after_failure:
   ## `make distcheck` puts it somewhere different.
   - if [[ "$DISTCHECK" != "" ]]; then make show-distdir-testlog || echo "make failed"; fi
   - if [[ "$DISTCHECK" != "" ]]; then make show-distdir-core || echo "make failed"; fi
+  - if [[ "$TEST_STEM" != "" ]]; then cat "$STEM_SOURCE_DIR"/test/data/tor_log || echo "cat failed"; fi
 
 before_cache:
   ## Delete all gcov files.
diff --git a/changes/ticket30234 b/changes/ticket30234
new file mode 100644
index 000000000..5a0076bad
--- /dev/null
+++ b/changes/ticket30234
@@ -0,0 +1,2 @@
+  o Testing (continuous integration):
+    - In Travis, show stem's tor log after failure. Closes ticket 30234.





More information about the tor-commits mailing list