[pypy-svn] r64782 - pypy/branch/pyjitpl5/pypy/jit/tl

arigo at codespeak.net arigo at codespeak.net
Tue Apr 28 16:24:43 CEST 2009


Author: arigo
Date: Tue Apr 28 16:24:42 2009
New Revision: 64782

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/run_all_tests.py
Log:
Tweaks.


Modified: pypy/branch/pyjitpl5/pypy/jit/tl/run_all_tests.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/run_all_tests.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/run_all_tests.py	Tue Apr 28 16:24:42 2009
@@ -12,6 +12,7 @@
 if len(sys.argv) > 1:
     start_at = sys.argv[1]
     del names[:names.index(start_at)]
+    print names
 
 assert os.path.isdir('result/')
 
@@ -29,6 +30,9 @@
     f.close()
     os.system("'%s' > result/%s 2>&1" % (EXECUTABLE, name))
     f = open('result/%s' % name)
+    f.seek(0, 2)
+    start = max(0, f.tell() - 1000)
+    f.seek(start)
     lines = f.readlines()
     f.close()
     if '---ending 2---' in lines[-1]:



More information about the Pypy-commit mailing list