[Distutils] [zc.buildout] test failures on trunk

Jim Fulton jim at zope.com
Tue Aug 12 23:24:53 CEST 2008


On Aug 12, 2008, at 4:20 PM, Chris Withers wrote:

> Hi All,
>
> I saw lots of failures on Windows, but I guess that's 'cos I need to  
> have a C-compiler, right?

Yup.

> Anyway, even on Linux there were still these failures with python  
> 2.4.5:
>
> $ bin/test
> Running zope.testing.testrunner.layer.UnitTests tests:
>  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
> zip_safe flag not set; analyzing archive contents...
> zip_safe flag not set; analyzing archive contents...
> zip_safe flag not set; analyzing archive contents...
> zip_safe flag not set; analyzing archive contents...
> zip_safe flag not set; analyzing archive contents...
> zip_safe flag not set; analyzing archive contents...
>
>
> Failure in test test_bootstrap_py (zc.buildout.tests)
> Failed doctest test for zc.buildout.tests.test_bootstrap_py
>  File "/home/chris/zc.buildout/src/zc/buildout/tests.py", line 581,  
> in test_bootstrap_py
>
> ----------------------------------------------------------------------
> File "/home/chris/zc.buildout/src/zc/buildout/tests.py", line 592,  
> in zc.buildout.tests.test_bootstrap_py
> Failed example:
>    print system(zc.buildout.easy_install._safe_arg(sys.executable)+'  
> '+
>                 'bootstrap.py'), # doctest: +ELLIPSIS
> Expected:
>    Downloading ...
>    Generated script '/sample/bin/buildout'.
> Got:
>    Creating directory '/sample/bin'.
>    Creating directory '/sample/parts'.
>    Creating directory '/sample/eggs'.
>    Creating directory '/sample/develop-eggs'.
>    Generated script '/sample/bin/buildout'.
> ----------------------------------------------------------------------
> File "/home/chris/zc.buildout/src/zc/buildout/tests.py", line 609,  
> in zc.buildout.tests.test_bootstrap_py
> Failed example:
>    ls(sample_buildout, 'eggs')
> Expected:
>    -  setuptools.eggpyN.N.egg
>    d  zc.buildout.eggpyN.N.egg
> Got:
>    d  setuptools.eggpyN.N.egg
>    d  zc.buildout.eggpyN.N.egg
>
> zip_safe flag not set; analyzing archive contents...
>  Ran 353 tests with 1 failures and 0 errors in 4 minutes 22.881  
> seconds.
> Tearing down left over layers:
>  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.


I'm not seeing any failures on Linux or Windows.

Jim

--
Jim Fulton
Zope Corporation




More information about the Distutils-SIG mailing list