summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-06-30 14:44:08 (GMT)
committerGitHub <noreply@github.com>2017-06-30 14:44:08 (GMT)
commit00561189fb5d85826cfc907e3a72361e1a39a591 (patch)
tree7debbcc9b075a69e39387f47eaeaa9ffb366afd8
parent7eebeb8fb84e2a9cb73903a08c59cf1d3b32cee0 (diff)
downloadcpython-00561189fb5d85826cfc907e3a72361e1a39a591.zip
cpython-00561189fb5d85826cfc907e3a72361e1a39a591.tar.gz
cpython-00561189fb5d85826cfc907e3a72361e1a39a591.tar.bz2
buildbot: pass --fail-env-changed to regrtest (#2509)
Make tests fail if a test altered the environment.
-rw-r--r--Makefile.pre.in2
-rw-r--r--Tools/buildbot/test.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index ee1cd4a..5602c16 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1035,7 +1035,7 @@ buildbottest: build_all platform
-@if which pybuildbot.identify >/dev/null 2>&1; then \
pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \
fi
- $(TESTRUNNER) -j 1 -u all -W --slowest --timeout=$(TESTTIMEOUT) $(TESTOPTS)
+ $(TESTRUNNER) -j 1 -u all -W --slowest --fail-env-changed --timeout=$(TESTTIMEOUT) $(TESTOPTS)
QUICKTESTOPTS= $(TESTOPTS) -x test_subprocess test_io test_lib2to3 \
test_multibytecodec test_urllib2_localnet test_itertools \
diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat
index 0b3a309..40ffc7e 100644
--- a/Tools/buildbot/test.bat
+++ b/Tools/buildbot/test.bat
@@ -16,4 +16,4 @@ if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
echo on
-call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 %regrtest_args%
+call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=1200 --fail-env-changed %regrtest_args%