X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=build-rtmgr-ubuntu.sh;h=ed3e2a02474a4b46751766f1d3457a0aee7094f3;hb=refs%2Fchanges%2F19%2F5019%2F1;hp=c822551d3b87da851716df14920e8d787201af61;hpb=c65a65db11cb29446e7810a0d3e7a74095f7c82e;p=ric-plt%2Frtmgr.git diff --git a/build-rtmgr-ubuntu.sh b/build-rtmgr-ubuntu.sh index c822551..ed3e2a0 100755 --- a/build-rtmgr-ubuntu.sh +++ b/build-rtmgr-ubuntu.sh @@ -63,22 +63,26 @@ go build ./cmd/rtmgr.go export RMR_SEED_RT=/tmp/go/src/routing-manager/uta_rtg_ric.rt cd $currnewdir/pkg/sbi -go-acc . -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml" +go-acc . -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json" cd $currnewdir/pkg/rpe -go-acc $(go list ./...) -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml" +go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json" cd $currnewdir/pkg/sdl -go-acc $(go list ./...) -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml" +go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json" cd $currnewdir/pkg/nbi -go-acc $(go list ./...) -- -f "/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.yaml" +go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json" + +cd $currnewdir/pkg/rtmgr +go-acc $(go list ./...) -- -f "/tmp/go/src/routing-manager/manifests/rtmgr/rtmgr-cfg.json" cd $currnewdir cat $currnewdir/pkg/rpe/coverage.txt | grep -v atomic > coverage_tmp.txt cat $currnewdir/pkg/sdl/coverage.txt | grep -v atomic >> coverage_tmp.txt cat $currnewdir/pkg/nbi/coverage.txt | grep -v atomic >> coverage_tmp.txt +cat $currnewdir/pkg/rtmgr/coverage.txt | grep -v atomic >> coverage_tmp.txt cp $currnewdir/pkg/sbi/coverage.txt coverage_tmp2.txt cat coverage_tmp2.txt coverage_tmp.txt > $curdir/coverage.txt