Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Commit

Permalink
run-tests.sh: list with the right import path
Browse files Browse the repository at this point in the history
Travis puts the repo under github.com/GoogleCloudPlatform/google-cloud-go,
so the package spec "./..." uses that as the package prefix.
Force it to use cloud.google.com/go instead.

Change-Id: Ie3df899a3d55ed199f06ad2fdc2040d07235994d
Reviewed-on: https://code-review.googlesource.com/13451
Reviewed-by: kokoro <[email protected]>
Reviewed-by: Ross Light <[email protected]>
  • Loading branch information
jba committed Jun 1, 2017
1 parent 485e934 commit d59fc17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function depends_on_changed_package {

shorts=
fulls=
for pkg in $(go list ./...); do # for each package in the repo
for pkg in $(go list $prefix/...); do # for each package in the repo
if depends_on_changed_package $pkg; then # if it depends on a changed package
fulls="$fulls $pkg" # run the full test
else # otherwise
Expand Down

0 comments on commit d59fc17

Please sign in to comment.