Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-13 Thread Stefan Fuhrmann
On 13.05.2016 02:54, Branko Čibej wrote: On 13.05.2016 00:00, Evgeny Kotkov wrote: Stefan Fuhrmann writes: TestHarness._run_test): The log is binary data, so write byte strings to it. [...] if self.opts.list_tests: - log.write('LISTING: %s\n' %

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-13 Thread Evgeny Kotkov
Stefan Fuhrmann writes: >> And sys.stdout.write() works with strings, so this probably won't work >> if tests are run with the --log-to-stdout option. > > That looks like a win-tests.py -only feature, although run_tests.py has > remnants of that. If not, I'd have to add a wrapper around stdout.

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Stefan Fuhrmann
On 12.05.2016 22:20, Branko Čibej wrote: On 12.05.2016 22:05, stef...@apache.org wrote: Author: stefan2 Date: Thu May 12 20:05:38 2016 New Revision: 1743556 URL: http://svn.apache.org/viewvc?rev=1743556&view=rev Log: Get the Python 3 tests running without the GLOBAL_SCHEDULER option. * build/r

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Stefan Fuhrmann
On 13.05.2016 00:00, Evgeny Kotkov wrote: Stefan Fuhrmann writes: TestHarness._run_test): The log is binary data, so write byte strings to it. [...] if self.opts.list_tests: - log.write('LISTING: %s\n' % progbase) + log.write(('LISTING: %s\n

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Branko Čibej
On 13.05.2016 00:00, Evgeny Kotkov wrote: > Stefan Fuhrmann writes: > >>TestHarness._run_test): The log is binary data, so write byte strings >> to it. > [...] > >> if self.opts.list_tests: >> - log.write('LISTING: %s\n' % progbase) >> + log.write(('

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Evgeny Kotkov
Stefan Fuhrmann writes: >TestHarness._run_test): The log is binary data, so write byte strings > to it. [...] > if self.opts.list_tests: > - log.write('LISTING: %s\n' % progbase) > + log.write(('LISTING: %s\n' % progbase).encode()) > else: >

Re: svn commit: r1743556 - /subversion/trunk/build/run_tests.py

2016-05-12 Thread Branko Čibej
On 12.05.2016 22:05, stef...@apache.org wrote: > Author: stefan2 > Date: Thu May 12 20:05:38 2016 > New Revision: 1743556 > > URL: http://svn.apache.org/viewvc?rev=1743556&view=rev > Log: > Get the Python 3 tests running without the GLOBAL_SCHEDULER option. > > * build/run_tests.py > (TestHarness