Added unit test cases for rtmgr package
Change-Id: I4f00c32edaf4cb2bd0feba10a3c88e4b08db07d1
Signed-off-by: wahidw <abdulwahid.w@nokia.com>
diff --git a/build-rtmgr-ubuntu.sh b/build-rtmgr-ubuntu.sh
index adb04ab..ed3e2a0 100755
--- a/build-rtmgr-ubuntu.sh
+++ b/build-rtmgr-ubuntu.sh
@@ -74,11 +74,15 @@
cd $currnewdir/pkg/nbi
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