[pypy-svn] r11879 - pypy/dist/lib-python

hpk at codespeak.net hpk at codespeak.net
Tue May 3 17:43:05 CEST 2005


Author: hpk
Date: Tue May  3 17:43:05 2005
New Revision: 11879

Modified:
   pypy/dist/lib-python/conftest.py
Log:
present more useful interactive information
for the coarse grained run 



Modified: pypy/dist/lib-python/conftest.py
==============================================================================
--- pypy/dist/lib-python/conftest.py	(original)
+++ pypy/dist/lib-python/conftest.py	Tue May  3 17:43:05 2005
@@ -847,7 +847,8 @@
         fn.write(result.repr_mimemessage().as_string(unixfrom=False))
         if result['exit status']:  
              time.sleep(0.5)   # time for a Ctrl-C to reach us :-)
-             py.test.fail(result['outcome'])
+             print >>sys.stderr, result.getnamedtext('stderr') 
+             py.test.fail("running test failed, see stderr output below") 
 
     def getstatusouterr(self, cmd): 
         tempdir = py.path.local.mkdtemp() 



More information about the Pypy-commit mailing list