|
|
|
@ -16,15 +16,6 @@ tmpdir=$(mktemp -d) |
|
|
|
|
|
|
|
|
|
. "${progdir}/setup_bls_build_flags.sh" |
|
|
|
|
|
|
|
|
|
echo "Running go test..." |
|
|
|
|
if go test -v -count=1 ./... |
|
|
|
|
then |
|
|
|
|
echo "go test succeeded." |
|
|
|
|
else |
|
|
|
|
echo "go test FAILED!" |
|
|
|
|
ok=false |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo "Running golint..." |
|
|
|
|
golint_output="${tmpdir}/golint_output.txt" |
|
|
|
|
if "${progdir}/golint.sh" -set_exit_status > "${golint_output}" 2>&1 |
|
|
|
@ -74,6 +65,15 @@ else |
|
|
|
|
ok=false |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
echo "Running go test..." |
|
|
|
|
if go test -v -count=1 ./... |
|
|
|
|
then |
|
|
|
|
echo "go test succeeded." |
|
|
|
|
else |
|
|
|
|
echo "go test FAILED!" |
|
|
|
|
ok=false |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if ! ${ok} |
|
|
|
|
then |
|
|
|
|
echo "Some checks failed; see output above." |
|
|
|
|