Restore testing of godep restore. (#1821)

PR #1808 accidentally removed the main diff.
Also, leave out diffing of Godeps in the `go generate` test.

https://github.com/letsencrypt/boulder/pull/1821
This commit is contained in:
Jacob Hoffman-Andrews 2016-05-14 13:03:47 -07:00 committed by Roland Bracewell Shoemaker
parent 96a57434eb
commit 4e60e4bb59
1 changed files with 2 additions and 1 deletions

View File

@ -264,6 +264,7 @@ if [[ "$RUN" =~ "godep-restore" ]] ; then
cp Godeps/Godeps.json Godeps/Godeps.json.head
run_and_comment godep save ./...
run_and_comment diff <(sed /GodepVersion/d Godeps/Godeps.json.head) <(sed /GodepVersion/d Godeps/Godeps.json)
run_and_comment git diff --exit-code -- ./vendor/
end_context #godep-restore
fi
@ -300,7 +301,7 @@ if [[ "$RUN" =~ "generate" ]] ; then
go install ./probs
go install google.golang.org/grpc/codes
run_and_comment go generate ${TESTPATHS}
run_and_comment git diff --exit-code .
run_and_comment git diff --exit-code $(ls | grep -v Godeps)
end_context #"generate"
fi