]> granicus.if.org Git - python/commit
Issue #25220, libregrtest: Call setup_python(ns) in the slaves
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Sep 2015 23:39:28 +0000 (01:39 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 29 Sep 2015 23:39:28 +0000 (01:39 +0200)
commitecef622fec197f4377b5b5ec58f80f5fd000210f
treed0e907554e83437d16d0b623f204d91a428b838c
parent8bb19f094ba6ba12f70a6458729c911d93c85209
Issue #25220, libregrtest: Call setup_python(ns) in the slaves

Slaves (child processes running tests for regrtest -jN) now inherit
--memlimit/-M, --threshold/-t and --nowindows/-n options.

* -M, -t and -n are now supported with -jN
* Factorize code to run tests.
* run_test_in_subprocess() now pass the whole "ns" namespace to the child
  process.
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtest_mp.py
Lib/test/test_regrtest.py