-
Notifications
You must be signed in to change notification settings - Fork 670
Conversation
cdfe204
to
5b70302
Compare
Allow non-circle people to build coverage reports.
84f566a
to
00a7490
Compare
assert_raises "exec_on $HOST1 c1 $CHECK_ETHWE_UP" | ||
|
||
run_on $HOST1 sudo weave --local run -ti --name=c2 $SMALL_IMAGE /bin/sh | ||
run_on $HOST1 sudo COVERAGE=$COVERAGE weave --local run -ti --name=c2 $SMALL_IMAGE /bin/sh |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
collect_coverage() { | ||
host=$1 | ||
rm -f cover.router.prof | ||
docker_on $host cp weave:/home/weave/cover.router.prof . || true |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
"golang.org/x/tools/cover" | ||
) | ||
|
||
func merge(p1, p2 *cover.Profile) *cover.Profile { |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
It would be nice not to have a bunch of test gubbins littered around the |
@paulbellamy re:weave script, yeah I agree, but I can't think of a better way. Any ideas? |
Code coverage for smoke tests.
COVERAGE_ARGS="" | ||
if [ -n "$COVERAGE" ] ; then | ||
COVERAGE_ARGS="-test.coverprofile=/home/weave/cover.router.prof --" | ||
fi |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
Fixes #673