Changeset 267417 in webkit
- Timestamp:
- Sep 22, 2020, 9:53:31 AM (6 years ago)
- Location:
- trunk/LayoutTests/imported/w3c
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
web-platform-tests/tools/serve/serve.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/imported/w3c/ChangeLog
r267402 r267417 1 2020-09-22 Sam Sneddon <gsnedders@apple.com> 2 3 REGRESSION(r267354): Only import resource module on Darwin 4 https://bugs.webkit.org/show_bug.cgi?id=216823 5 6 Reviewed by Darin Adler. 7 8 * web-platform-tests/tools/serve/serve.py: 9 Move the resource import to the local point behind the Darwin platform 10 test. This code is only run once per process initiation, hence it makes 11 no difference to have the import locally. 12 1 13 2020-09-22 Sam Weinig <weinig@apple.com> 2 14 -
trunk/LayoutTests/imported/w3c/web-platform-tests/tools/serve/serve.py
r267354 r267417 9 9 import os 10 10 import platform 11 import resource12 11 import signal 13 12 import socket … … 422 421 # on Darwin, NOFILE starts with a very low limit (256), so bump it up a little 423 422 # by way of comparison, Debian starts with a limit of 1024, Windows 512 423 import resource # local, as it only exists on Unix-like systems 424 424 maxfilesperproc = int(subprocess.check_output( 425 425 ["sysctl", "-n", "kern.maxfilesperproc"]
Note:
See TracChangeset
for help on using the changeset viewer.