[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] fix: CI: Exit from integration script
commit a49cf7029bf5b3a6414ca89fd31a243bec319ef4
Author: juga0 <juga@xxxxxxxxxx>
Date: Wed Mar 3 12:38:18 2021 +0000
fix: CI: Exit from integration script
when any of the commands fail.
---
tests/integration/run.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/integration/run.sh b/tests/integration/run.sh
index e870b50..70ee5f2 100755
--- a/tests/integration/run.sh
+++ b/tests/integration/run.sh
@@ -1,5 +1,8 @@
#!/bin/bash
-set -x
+# Instead of exiting inmmediately when any of this commands fail,
+# the scanner, generate and coverage lines could continue and store there was
+# an error on that command. It's just simpler with `-e`.
+set -ex
tests/integration/start_chutney.sh
python3 scripts/tools/sbws-http-server.py --port 28888 &>/dev/null &
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits