Skip to content

Commit 9fe0a1c

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "make test runner functions return the status of running the tests"
2 parents 7ed3dc7 + c51788a commit 9fe0a1c

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.functests

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
cd test/functional
44
nosetests --exe $@
5+
func1=$?
56
cd -
67

78
cd test/functionalnosetests
89
nosetests --exe $@
10+
func2=$?
911
cd -
12+
13+
exit $((func1 + func2))

.probetests

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,7 @@
22

33
cd test/probe
44
nosetests --exe
5+
rvalue=$?
56
cd -
7+
8+
exit $rvalue

.unittests

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22

33
cd test/unit
44
nosetests --exe --with-coverage --cover-package swift --cover-erase $@
5+
rvalue=$?
56
rm -f .coverage
67
cd -
8+
exit $rvalue

0 commit comments

Comments
 (0)