[IMP] console.log js output should be piped to stdout during JS tests

bzr revid: xmo@openerp.com-20140131152612-rqxkge24w6p95q10
This commit is contained in:
Xavier Morel 2014-01-31 16:26:12 +01:00
parent 99743cae43
commit b78703c122
1 changed files with 2 additions and 0 deletions

View File

@ -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