X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=icsversion%2Fbuild-ransliceassurance-ubuntu.sh;h=63f317b1a196ef4675be225a21b9f5575f449fd0;hb=refs%2Fheads%2Fh-release;hp=5bb3f31bb93401c5eae4126ba8a0b4813b50783a;hpb=d2666f955515665c845db90b8bdd73dca8b6423f;p=nonrtric%2Frapp%2Fransliceassurance.git diff --git a/icsversion/build-ransliceassurance-ubuntu.sh b/icsversion/build-ransliceassurance-ubuntu.sh old mode 100644 new mode 100755 index 5bb3f31..63f317b --- a/icsversion/build-ransliceassurance-ubuntu.sh +++ b/icsversion/build-ransliceassurance-ubuntu.sh @@ -19,22 +19,20 @@ set -eux echo "--> build-ransliceassurance-ubuntu.sh" -curdir=`pwd` # go installs tools like go-acc to $HOME/go/bin # ubuntu minion path lacks go export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +export GO111MODULE=on go version cd icsversion/ # install the go coverage tool helper -go get -v github.com/ory/go-acc +go install github.com/ory/go-acc -export GO111MODULE=on go get github.com/stretchr/testify/mock@v1.7.0 go-acc ./... --ignore mocks -sed -i -e 's/oransc\.org\/usecase\/oduclosedloop/icsversion/' coverage.txt +sed -i -e 's/oransc\.org\/usecase\/oduclosedloop\///' coverage.txt -cp coverage.txt $curdir echo "--> build-ransliceassurance-ubuntu.sh ends"