on xenial help sign in
Make runtests return the exit status of make

So we can be sure we're failing on CI if we fail on make

commit287bbe3a2623b40cbb55f2f48f0cf66040786d42 authorAlbert Astals Cid <albert.astals@canonical.com> dateWed 29 Apr 2015, 14:38 (11 years ago) parent8c98a7a
1 file changed+3
runtests.sh+3
runtests.sh+3
@@ -42,6 +42,7 @@ sleep 1
4242cd -
4343
4444make -k qmltests
45+makeresult=$?
4546
4647cd -
4748
@@ -134,3 +135,5 @@ echo " </classes>" >> $coveragefile
134135echo " </package>" >> $coveragefile
135136echo " </packages>" >> $coveragefile
136137echo "</coverage>" >> $coveragefile
138+
139+exit $makeresult