We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5742dd commit 70580e5Copy full SHA for 70580e5
ci/docker-rally.sh
@@ -4,6 +4,9 @@
4
XTRACE=$(set +o | grep xtrace)
5
set -o xtrace
6
7
+# Track failures
8
+FAILED=0
9
+
10
OVS_REPO=${1:-https://github.com/openvswitch/ovs.git}
11
OVS_BRANCH=${2:-master}
12
@@ -12,13 +15,15 @@ echo "OVS_REPO=${OVS_REPO} OVS_BRANCH=${OVS_BRANCH}"
15
# A combined script to run all the things
13
16
14
17
# Prepare the environment
-./prepare.sh
18
+./prepare.sh || FAILED=$(( $FAILED + 1 ))
19
20
# Run the testsuite
-./scale-run.sh $OVS_REPO $OVS_BRANCH
21
+./scale-run.sh $OVS_REPO $OVS_BRANCH || FAILED=$(( $FAILED + 1 ))
22
23
# Clean things up
-./scale-cleanup.sh
24
+./scale-cleanup.sh || FAILED=$(( $FAILED + 1 ))
25
26
+return $FAILED
27
28
# Restore xtrace
29
$XTRACE
0 commit comments