File tree Expand file tree Collapse file tree 4 files changed +410
-3
lines changed Expand file tree Collapse file tree 4 files changed +410
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ branches:
7
7
- buildbot-custom
8
8
build_script :
9
9
- cmd : PCbuild\build.bat -e
10
+ - cmd : PCbuild\win32\python.exe -m test.pythoninfo
10
11
test_script :
11
12
- cmd : PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 --fail-env-changed -j0
12
13
environment :
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ matrix:
60
60
# Need a venv that can parse covered code.
61
61
./python -m venv venv
62
62
./venv/bin/python -m pip install -U coverage
63
+ ./venv/bin/python -m test.pythoninfo
63
64
script :
64
65
# Skip tests that re-run the entire test suite.
65
66
- ./venv/bin/python -m coverage run --pylib -m test -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn
@@ -87,6 +88,7 @@ before_script:
87
88
echo "$changes"
88
89
exit 1
89
90
fi
91
+ ./python -m test.pythoninfo
90
92
91
93
script :
92
94
# Using the built Python as patchcheck.py is built around the idea of using
Original file line number Diff line number Diff line change @@ -424,16 +424,13 @@ def display_header(self):
424
424
print ("==" , platform .python_implementation (), * sys .version .split ())
425
425
print ("==" , platform .platform (aliased = True ),
426
426
"%s-endian" % sys .byteorder )
427
- print ("== hash algorithm:" , sys .hash_info .algorithm ,
428
- "64bit" if sys .maxsize > 2 ** 32 else "32bit" )
429
427
print ("== cwd:" , os .getcwd ())
430
428
cpu_count = os .cpu_count ()
431
429
if cpu_count :
432
430
print ("== CPU count:" , cpu_count )
433
431
print ("== encodings: locale=%s, FS=%s"
434
432
% (locale .getpreferredencoding (False ),
435
433
sys .getfilesystemencoding ()))
436
- print ("Testing with flags:" , sys .flags )
437
434
438
435
def run_tests (self ):
439
436
# For a partial run, we do not need to clutter the output.
You can’t perform that action at this time.
0 commit comments