projects
/
platform
/
core
/
system
/
edge-orchestration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d63812
)
add discovery test
author
damon92
<damon92.lee@samsung.com>
Thu, 28 Mar 2019 04:28:07 +0000
(13:28 +0900)
committer
damon92
<damon92.lee@samsung.com>
Thu, 28 Mar 2019 04:28:07 +0000
(13:28 +0900)
coverage.sh
patch
|
blob
|
history
diff --git
a/coverage.sh
b/coverage.sh
index
4e6d13a
..
ceb3d68
100755
(executable)
--- a/
coverage.sh
+++ b/
coverage.sh
@@
-1,7
+1,7
@@
#! /bin/bash
BASE_DIR=$( cd "$(dirname "$0")" ; pwd )
export GOPATH=$GOPATH:$BASE_DIR:$BASE_DIR/vendor
-ln -sf $BASE_DIR/vendor $BASE_DIR/vendor/src
+
go test -v -cover restapi/v1 -coverpkg=servicemgr,devicemgr,restapi,discoverymgr -coverprofile cover.out
go tool cover -html=cover.out -o cover.html