Checking docs
Checking formatting
Formatting wrong in following files
_integration-tests/tests/update_test.go
# we always run in a fresh dir in tarmac
export GOPATH=$(mktemp -d)
trap 'rm -rf "$GOPATH"' EXIT
# this is a hack, but not sure tarmac is golang friendly
mkdir -p $GOPATH/src/launchpad.net/snappy
cp -a . $GOPATH/src/launchpad.net/snappy/
cd $GOPATH/src/launchpad.net/snappy
./run-checks
if which goctest >/dev/null; then
goctest="goctest"
else
goctest="go test"
fi
echo Checking docs
./mdlint.py docs/*.md
echo Checking formatting
fmt=$(gofmt -l .)
if [ -n "$fmt" ]; then
echo "Formatting wrong in following files"
echo "$fmt"
exit 1
fi
The attempt to merge lp:~elopio/snappy/normalize_test into lp:snappy failed. Below is the output from the failed tests.
Checking docs tests/tests/ update_ test.go
Checking formatting
Formatting wrong in following files
_integration-
# we always run in a fresh dir in tarmac
export GOPATH=$(mktemp -d)
trap 'rm -rf "$GOPATH"' EXIT
# this is a hack, but not sure tarmac is golang friendly src/launchpad. net/snappy src/launchpad. net/snappy/ src/launchpad. net/snappy
mkdir -p $GOPATH/
cp -a . $GOPATH/
cd $GOPATH/
./run-checks
if which goctest >/dev/null; then "goctest"
goctest=
else
goctest="go test"
fi
echo Checking docs
./mdlint.py docs/*.md
echo Checking formatting
fmt=$(gofmt -l .)
if [ -n "$fmt" ]; then
echo "Formatting wrong in following files"
echo "$fmt"
exit 1
fi