Merge "Minor bugs fix in ORU-app simulator" into e-release
[nonrtric.git] / dmaap-mediator-producer / build-dmaapmediatorproducer-ubuntu.sh
index ad8b8bb..c846b1c 100755 (executable)
@@ -23,6 +23,8 @@ 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
+go version
+cd dmaap-mediator-producer
 
 # install the go coverage tool helper
 go get -v github.com/ory/go-acc
@@ -32,4 +34,7 @@ go get github.com/stretchr/testify/mock@v1.7.0
 
 go-acc ./... --ignore mocks
 
+sed -i -e 's/oransc\.org\/nonrtric\/dmaapmediatorproducer/dmaap-mediator-producer/' coverage.txt
+
+cp coverage.txt $curdir
 echo "--> build-dmaapmediatorproducer-ubuntu.sh ends"