Commits

Amaury Forgeot d'Arc committed d356148

Always run regression tests in verbose mode.
py.test hides the output anyway while running, and will give more informative results in reports.

  • Participants
  • Parent commits 0feed03
  • Branches fast-forward

Comments (0)

Files changed (2)

lib-python/conftest.py

                                    'run-script', 'regrverbose.py')
         
         regrrun = str(regr_script)
-        if pypy_option.verbose:
-            regrrun_verbosity = '1'
-        else:
-            regrrun_verbosity = '0'
         
         TIMEOUT = gettimeout()
         if option.pypy:
                     py.test.skip("%s module not included in %s" % (mod,
                                                                    execpath))
                     
-            cmd = "%s %s %s %s" %(
+            cmd = "%s %s %s" %(
                 execpath, 
-                regrrun, regrrun_verbosity, fspath.purebasename)
+                regrrun, fspath.purebasename)
 
             # add watchdog for timing out
             cmd = "%s %s %s %s" %(

pypy/tool/pytest/run-script/regrverbose.py

 import sys
 import unittest
 from test import test_support
-test_support.verbose = int(sys.argv[1])
-sys.argv[:] = sys.argv[2:]
+test_support.verbose = 1
+sys.argv[:] = sys.argv[1:]
 
 modname = sys.argv[0]
 impname = 'test.' + modname