This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 70580e5
1 parent e5742dd commit 70580e5 Copy full SHA for 70580e5
File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 4
4
XTRACE=$( set +o | grep xtrace)
5
5
set -o xtrace
6
6
7
+ # Track failures
8
+ FAILED=0
9
+
7
10
OVS_REPO=${1:- https:// github.com/ openvswitch/ ovs.git}
8
11
OVS_BRANCH=${2:- master}
9
12
@@ -12,13 +15,15 @@ echo "OVS_REPO=${OVS_REPO} OVS_BRANCH=${OVS_BRANCH}"
12
15
# A combined script to run all the things
13
16
14
17
# Prepare the environment
15
- ./prepare.sh
18
+ ./prepare.sh || FAILED= $(( $FAILED + 1 ))
16
19
17
20
# Run the testsuite
18
- ./scale-run.sh $OVS_REPO $OVS_BRANCH
21
+ ./scale-run.sh $OVS_REPO $OVS_BRANCH || FAILED= $(( $FAILED + 1 ))
19
22
20
23
# Clean things up
21
- ./scale-cleanup.sh
24
+ ./scale-cleanup.sh || FAILED=$(( $FAILED + 1 ))
25
+
26
+ return $FAILED
22
27
23
28
# Restore xtrace
24
29
$XTRACE
You can’t perform that action at this time.
0 commit comments