From: Victor Stinner Date: Fri, 30 Jun 2017 14:44:08 +0000 (+0200) Subject: buildbot: pass --fail-env-changed to regrtest (#2509) X-Git-Tag: v3.7.0a1~482 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00561189fb5d85826cfc907e3a72361e1a39a591;p=thirdparty%2FPython%2Fcpython.git buildbot: pass --fail-env-changed to regrtest (#2509) Make tests fail if a test altered the environment. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index ee1cd4a0280e..5602c165463a 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 0b3a3091c1e4..40ffc7efdd2d 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%