[Zope] Supressing unittest outputs during install
Eron Lloyd
lloyd@lancaster.lib.pa.us
Wed, 16 Jan 2002 10:20:45 -0500
Would it be possible to supress those printouts during install? My guess is
that nocaret.py and test_future7.py in test/ would have to be re-written not
to be verbose when using compile(). Looking at the code it seems they are
designed to fail out and report back, as that's their purpose. I usually
write my tests to take redirection if necessary (like to a log) when there's
a chance an end-user might need to run the code that does regression
checking. I don't know if this is fixed or not in the 2.2 test suite, as I
haven't been ambitious enough to upgrade (yet). I've had several people panic
when they saw that error, thinking the install went wrong. For now, could we
have the installer *ignore* the test directory during the recursive compile?
I don't see a reason why we would need that pre-compiled, anyways.
Regards,
Eron
> As the message says, there were syntax errors in unit tests discovered
> during module compilation. The installer pre-compiles all *.py files
> (test or not) for speed. The tests are not actually being run.