[pypy-svn] r45602 - pypy/dist/pypy/translator/js/test

fijal at codespeak.net fijal at codespeak.net
Sat Aug 11 17:42:50 CEST 2007


Author: fijal
Date: Sat Aug 11 17:42:49 2007
New Revision: 45602

Modified:
   pypy/dist/pypy/translator/js/test/runtest.py
Log:
fix --use-browser


Modified: pypy/dist/pypy/translator/js/test/runtest.py
==============================================================================
--- pypy/dist/pypy/translator/js/test/runtest.py	(original)
+++ pypy/dist/pypy/translator/js/test/runtest.py	Sat Aug 11 17:42:49 2007
@@ -94,6 +94,7 @@
                 assert out[1] == 'undefined' or out[1] == ""
                 output = out[0]
                 port += 1
+            return self.reinterpret(output)
         else:
 #            cmd = 'echo "load(\'%s\'); print(%s)" | js 2>&1' % (self.js.filename, function_call)
 #            log(cmd)



More information about the Pypy-commit mailing list