From b78703c12200facabef2cad3e4fa5ec4eb9d57e3 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Fri, 31 Jan 2014 16:26:12 +0100 Subject: [PATCH] [IMP] console.log js output should be piped to stdout during JS tests bzr revid: xmo@openerp.com-20140131152612-rqxkge24w6p95q10 --- addons/web/tests/qunitsuite/suite.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/tests/qunitsuite/suite.py b/addons/web/tests/qunitsuite/suite.py index 3aed7b133f1..84092c687b4 100644 --- a/addons/web/tests/qunitsuite/suite.py +++ b/addons/web/tests/qunitsuite/suite.py @@ -110,6 +110,8 @@ class QUnitSuite(unittest.TestSuite): self._test.failed = True result.addFailure( self._test, self.failure_to_str(*args[2:])) + elif event_name == 'console': + print args[1] return False