Skip to content

Commit b036419

Browse files
fordazcrhino
authored andcommitted
Run go vet after ginkgo to ensure all packages are compiled
[#117877029] Signed-off-by: Chris Piraino <[email protected]>
1 parent 9009f6a commit b036419

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/run-unit-tests

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,10 @@ if [ -n "$PACKAGE" ]; then
3535
ginkgo -r -p "$@" "./src/${PACKAGE}"
3636
else
3737
pushd src/github.com/cloudfoundry-incubator/
38-
run_go_vet tcp-emitter
39-
4038
ginkgo -r -keepGoing -p -trace -randomizeAllSpecs -progress \
4139
uaa-go-client routing-api routing-api-cli cf-tcp-router tcp-emitter "$@"
40+
41+
# Run go vet after ginkgo so that all necessary packages are compiled
42+
run_go_vet tcp-emitter
4243
popd
4344
fi

0 commit comments

Comments
 (0)