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:
parent
96a57434eb
commit
4e60e4bb59
3
test.sh
3
test.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue