mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix Makefile
- To report the godep test err code to CircleCI Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
parent
6429fcc954
commit
a794fa07b7
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@ run-tests:
|
||||||
pushd . &> /dev/null ; \
|
pushd . &> /dev/null ; \
|
||||||
cd $$dir ; \
|
cd $$dir ; \
|
||||||
$(shell which godep) go test ${INSIDECONTAINER} -test.parallel 3 -test.v -covermode=count -coverprofile=./profile.tmp ; \
|
$(shell which godep) go test ${INSIDECONTAINER} -test.parallel 3 -test.v -covermode=count -coverprofile=./profile.tmp ; \
|
||||||
if [ $$? -ne 0 ]; then exit $$?; fi ;\
|
ret=$$? ;\
|
||||||
|
if [ $$ret -ne 0 ]; then exit $$ret; fi ;\
|
||||||
popd &> /dev/null; \
|
popd &> /dev/null; \
|
||||||
if [ -f $$dir/profile.tmp ]; then \
|
if [ -f $$dir/profile.tmp ]; then \
|
||||||
cat $$dir/profile.tmp | tail -n +2 >> coverage.coverprofile ; \
|
cat $$dir/profile.tmp | tail -n +2 >> coverage.coverprofile ; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue