And then I remembered that go/build doesn't do transitive import lists ;)
39 may be too low, but still, you get the idea.


On Mon, Feb 10, 2014 at 5:32 PM, Andrew Wilkins <
[email protected]> wrote:

> Hi folks,
>
> When I'm about to propose or land something, I'll typically run "make
> check", or just "go test ./..." to ensure I haven't broken some far-away
> package. This can be quite slow, unnecessarily so if the packages changed
> don't feature in the dependencies of some of our longer running tests.
>
> I possibly reinvented the wheel, but I've just written a simple program to
> filter a package list by those that depend on a specified list of packages.
> You can get it here: https://github.com/axw/rdep
>
> For example, I just modified the environs and provider/manual packages in
> a WIP. From the juju-core directory, I run
>     rdep -tests ./... ./environs/ ./provider/manual | xargs go test
> and this ran tests for 39 packages rather than 155.
>
> I may or may not write another tool at some point to list which packages
> have changed since a specified rev, but it's easy enough to do that bit by
> hand (bzr status -r -N).
>
> Cheers,
> Andrew
>
-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to