Changeset 137

Show
Ignore:
Timestamp:
08/09/06 05:56:45 (2 years ago)
Author:
mk
Message:

Added extra debug information for functional tests.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mk/tests/functional/_helper_cheesecake.py

    r66 r137  
    3232    def _assert_success(self): 
    3333        # Check that Cheesecake exited sucessfully. 
     34        print "Return code: %d" % self.return_code 
    3435        assert self.return_code == 0 
    3536 
    3637        # Check that Cheesecake didn't wrote anything into stderr. 
    37         assert read_file_contents(self.stderr_name) == '' 
     38        stderr_contents = read_file_contents(self.stderr_name) 
     39        print "Stderr contents:\n***\n%s\n***\n" % stderr_contents 
     40        assert stderr_contents == '' 
    3841 
    3942    def _cleanup(self):