maddy

git clone git://git.lin.moe/fmaddy/maddy.git

 1#!/bin/sh
 2
 3set -e
 4
 5if [ -z "$GO" ]; then
 6	export GO=go
 7fi
 8
 9./build_cover.sh
10
11clean() {
12    rm -f /tmp/maddy-coverage-report*
13}
14trap clean EXIT
15
16$GO test -tags integration -integration.executable ./maddy.cover -integration.coverprofile /tmp/maddy-coverage-report "$@"
17$GO run gocovcat.go /tmp/maddy-coverage-report* > coverage.out