Checking docs
Checking formatting
Formatting wrong in following files
_integration-tests/tests/rollback_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
sh -v ./run-checks
#!/bin/sh
set -eu
if which goctest >/dev/null; then
goctest="goctest"
else
goctest="go test"
fi
QUICK=""
if [ "${1:-}" = "--quick" ]; then
QUICK=yes
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/wait-boot-ok into lp:snappy failed. Below is the output from the failed tests.
Checking docs tests/tests/ rollback_ 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/
sh -v ./run-checks
#!/bin/sh
set -eu
if which goctest >/dev/null; then "goctest"
goctest=
else
goctest="go test"
fi
QUICK=""
if [ "${1:-}" = "--quick" ]; then
QUICK=yes
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