[Python-checkins] [python/cpython] 63f54c: bpo-30764: regrtest: add --fail-env-changed option...

GitHub noreply at github.com
Mon Jun 26 12:33:20 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 63f54c68936d648c70ca411661e4208329edcf26
      https://github.com/python/cpython/commit/63f54c68936d648c70ca411661e4208329edcf26
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-26 (Mon, 26 Jun 2017)

  Changed paths:
    M Lib/test/libregrtest/cmdline.py
    M Lib/test/libregrtest/main.py
    M Lib/test/test_regrtest.py

  Log Message:
  -----------
  bpo-30764: regrtest: add --fail-env-changed option (#2402)

* bpo-30764: regrtest: change exit code on failure

* Exit code 2 if failed tests ("bad")
* Exit code 3 if interrupted

* bpo-30764: regrtest: add --fail-env-changed option

If the option is set, mark a test as failed if it alters the
environment, for example if it creates a file without removing it.




More information about the Python-checkins mailing list