Comment 14 for bug 82693

On Fri, 2009-04-17 at 00:01 +0000, Robert Collins wrote:
> so when you export, export to a subdir of the temporary directory; then
> set the env when you invoke the sub process.

Well, not really. That would work fine if the test plugin were for
testing bzr plugins, but it is supposed to be more generic than that.

A similar issue comes up for running the test suite of a plugin while
building the debian package of it, I have tried to crack this problem
before for that and failed to get something that works in all the
ways that it needs to.

> > My code does this by setting BZR_PLUGIN_PATH based on __file__,
> > so that it will always be testing the code that you are running
> > it from, as well as a symlink to get it to appear as the correct
> > name, regardless of the directory name.
>
> This is what is broken - you aren't testing the commit, you're testing
> the original tree which isn't the same thing.

I don't understand what you mean by this.

Thanks,

James