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

Chris Withers chris at simplistix.co.uk
Tue Aug 12 22:20:33 CEST 2008


Hi All,

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

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.

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list