Comment 4 for bug 631785

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 631785] Re: Tests should pass using installer bzr versions and be run as part of the release process

Vincent Ladeuil пишет:
>>>>>> Alexander Belchenko <email address hidden> writes:
>
> > I should note that actual testing should be done on vanilla machine
> > without build tools and Python 2.6 installed.
>
> Don't make testers life too hard either :)

Actually, my point is to test entire bzr.exe + installer problems. E.g.
I suspect we might miss some dlls, or manifest or whatever. Only test on
clean achine can reveal this.

> We need a way to get the code to test and we want to run selftest (the
> actual installer doesn't embed enough of the test suite for that if I
> remember correctly). So we need bzr and its associated test tools
> anyway.

If we talking about bzr.exe then everything except python.exe should be
there.

> Of course we should isolate the actual tests to ensure we don't grab any
> hidden dependencies though.
>
> A dedicated test suite for the installers sounds like a good plan
> anyway.

Just skip tests if we run bzr.exe -- it's easy to create Feature. The
check for bzr.exe is very simple:

getattr(sys, "frozen", None) is not None

--
All the dude wanted was his rug back