[cheesecake-dev] Tests failing on OS X

ssteinerX@gmail.com ssteinerx at gmail.com
Thu Nov 12 16:39:14 PST 2009


Hi!
	Just ran cheesecake test suite for the first time under OS X 10.6,  
Python 2.6.4

	One of the issues is that /bin/true doesn't exist, it's at /usr/bin/ 
true on OS X.

	The other two I don't know about.

	This is from an SVN pull, At revision 196.

S

======================================================================
FAIL: Doctest: cheesecake.cheesecake_index.FilesIndex.get_not_used
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ 
python2.6/doctest.py", line 2145, in runTest
     raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for  
cheesecake.cheesecake_index.FilesIndex.get_not_used
   File "/Users/ssteiner/Dropbox/work/distutils/cheesecake-trunk/ 
cheesecake/cheesecake_index.py", line 627, in get_not_used

----------------------------------------------------------------------
File "/Users/ssteiner/Dropbox/work/distutils/cheesecake-trunk/ 
cheesecake/cheesecake_index.py", line 637, in  
cheesecake.cheesecake_index.FilesIndex.get_not_used
Failed example:
     map(lambda x: str(x), index.get_not_used(rules.keys()))
Expected:
     ['license/license.html/license.txt/copying/copying.html/ 
copying.txt', 'readme/readme.html/readme.txt']
Got:
     ['readme/readme.html/readme.txt', 'license/license.html/ 
license.txt/copying/copying.html/copying.txt']


======================================================================
FAIL: Doctest: cheesecake.util.command_successful
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ 
python2.6/doctest.py", line 2145, in runTest
     raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for  
cheesecake.util.command_successful
   File "/Users/ssteiner/Dropbox/work/distutils/cheesecake-trunk/ 
cheesecake/util.py", line 61, in command_successful

----------------------------------------------------------------------
File "/Users/ssteiner/Dropbox/work/distutils/cheesecake-trunk/ 
cheesecake/util.py", line 64, in cheesecake.util.command_successful
Failed example:
     command_successful('/bin/true')
Expected:
     True
Got:
     False


======================================================================
FAIL: Doctest: cheesecake.util.run_cmd
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ 
python2.6/doctest.py", line 2145, in runTest
     raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for cheesecake.util.run_cmd
   File "/Users/ssteiner/Dropbox/work/distutils/cheesecake-trunk/ 
cheesecake/util.py", line 23, in run_cmd

----------------------------------------------------------------------
File "/Users/ssteiner/Dropbox/work/distutils/cheesecake-trunk/ 
cheesecake/util.py", line 26, in cheesecake.util.run_cmd
Failed example:
     run_cmd('/bin/true')
Expected:
     (0, '')
Got:
     (1, ProcessError(OSError(2, 'No such file or directory'),))


----------------------------------------------------------------------
Ran 68 tests in 7.220s

FAILED (SKIP=2, failures=3)




More information about the cheesecake-dev mailing list