mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
test: fix travis-build-script.sh to honor unit test results
Fix the bug introduced by the following commit:
commit 835d1f38e7
Author: ISHIDA Wataru <[email protected]>
Date: Tue May 31 06:53:40 2016 +0000
test: test go example embeded in document
Signed-off-by: FUJITA Tomonori <[email protected]>
This commit is contained in:
@@ -7,8 +7,7 @@ export GOBGP=`pwd`
|
||||
if [ "$SCENARIO" != "true" ]; then
|
||||
echo "execute unit test."
|
||||
go version
|
||||
go test -v ./...
|
||||
[ "$?" != 0 ] && exit "$?"
|
||||
go test -v ./... || exit "$?"
|
||||
python $GOBGP/test/scenario_test/ci-scripts/build_embeded_go.py $GOBGP/docs/sources/lib.md
|
||||
exit $?
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user