]> granicus.if.org Git - python/commit
bpo-30284: Fix regrtest for out of tree build (#1481)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 14 Jun 2017 22:44:05 +0000 (00:44 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2017 22:44:05 +0000 (00:44 +0200)
commitf7e07840d725f2ebb469129cb5e6574ce61725ef
tree40d31fd0d6cf6a00999ed4787532d1763f27eef6
parent8c3f05e9f0f0b30a3d4a2433e92471794d8258af
bpo-30284: Fix regrtest for out of tree build (#1481)

Use a build/ directory in the build directory, not in the source
directory, since the source directory may be read-only and must not
be modified.

Fallback on the source directory if the build directory is not
available (missing "abs_builddir" sysconfig variable).
Lib/test/libregrtest/main.py