[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [chutney/master] Debug: Print a warnings summary as the last message on failure



commit 667cfe9ba3791d2a0443563452d85944f725b0e9
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Thu Oct 25 12:07:32 2018 +1000

    Debug: Print a warnings summary as the last message on failure
---
 tools/test-network.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/test-network.sh b/tools/test-network.sh
index 2c8f81a..ced7455 100755
--- a/tools/test-network.sh
+++ b/tools/test-network.sh
@@ -333,6 +333,7 @@ fi
 if ! "$CHUTNEY_PATH/tools/bootstrap-network.sh" "$NETWORK_FLAVOUR"; then
     CHUTNEY_WARNINGS_IGNORE_EXPECTED=false CHUTNEY_WARNINGS_SUMMARY=false \
         "$WARNING_COMMAND"
+    "$WARNINGS"
     $ECHO "bootstrap-network.sh failed"
     exit 1
 fi
@@ -368,6 +369,7 @@ if [ "$CHUTNEY_BOOTSTRAP_TIME" -ge 0 ]; then
             CHUTNEY_WARNINGS_IGNORE_EXPECTED=false \
                 CHUTNEY_WARNINGS_SUMMARY=false \
                 "$WARNING_COMMAND"
+            "$WARNINGS"
             $ECHO "chutney verify $n_rounds/$CHUTNEY_ROUNDS failed"
             exit 1
         fi
@@ -390,6 +392,7 @@ if [ "$CHUTNEY_STOP_TIME" -ge 0 ]; then
     if ! "$CHUTNEY" stop "$CHUTNEY_NETWORK"; then
         CHUTNEY_WARNINGS_IGNORE_EXPECTED=false CHUTNEY_WARNINGS_SUMMARY=false \
             "$WARNING_COMMAND"
+        "$WARNINGS"
         $ECHO "chutney stop failed"
         exit 1
     fi



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits