RESOLVED FIXED54431
nrwt multiprocessing: fix various windows-related regressions
https://bugs.webkit.org/show_bug.cgi?id=54431
Summary nrwt multiprocessing: fix various windows-related regressions
Dirk Pranke
Reported 2011-02-14 20:34:17 PST
nrwt multiprocessing: fix various windows-related regressions
Attachments
Patch (8.05 KB, patch)
2011-02-14 20:46 PST, Dirk Pranke
tony: review+
Dirk Pranke
Comment 1 2011-02-14 20:46:58 PST
Dirk Pranke
Comment 2 2011-02-14 20:48:58 PST
I am open to better suggestions if anyone has some ...
Tony Chang
Comment 3 2011-02-15 10:30:12 PST
Comment on attachment 82412 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=82412&action=review Seems fine to try. > Tools/Scripts/new-run-webkit-tests:40 > + # (which means a file in sys.path that ends in .py). We use the main > + # file in the layout_tests subdirectory, and we also make sure that > + # sys.path / PYTHONPATH is set and propagating correctly. Nit: The second sentence seems to be repeating what is already stated in the first sentence. > Tools/Scripts/new-run-webkit-tests:43 > + script_dir = os.path.dirname(os.path.abspath(__file__)) > + env = os.environ > + env['PYTHONPATH'] = script_dir Should we append the old PYTHONPATH to script_dir? > Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:47 > +# In order to reliably control when child workers are starting and stopping, > +# we a pair of global variables to hold queues used for messaging. Ideally Nit: we a pair -> we use a pair? > Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:51 > Nit: Remove blank line between comment and variables.
Dirk Pranke
Comment 4 2011-02-15 12:12:54 PST
Dirk Pranke
Comment 5 2011-02-15 12:13:49 PST
(In reply to comment #3) > > Tools/Scripts/new-run-webkit-tests:40 > > + # (which means a file in sys.path that ends in .py). We use the main > > + # file in the layout_tests subdirectory, and we also make sure that > > + # sys.path / PYTHONPATH is set and propagating correctly. > > Nit: The second sentence seems to be repeating what is already stated in the first sentence. > The intent was to be slightly different, but it probably wasn't different enough to be worth it. removed. > > Tools/Scripts/new-run-webkit-tests:43 > > + script_dir = os.path.dirname(os.path.abspath(__file__)) > > + env = os.environ > > + env['PYTHONPATH'] = script_dir > > Should we append the old PYTHONPATH to script_dir? > Done. > > Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:47 > > +# In order to reliably control when child workers are starting and stopping, > > +# we a pair of global variables to hold queues used for messaging. Ideally > > Nit: we a pair -> we use a pair? > Fixed. > > Tools/Scripts/webkitpy/layout_tests/layout_package/manager_worker_broker_unittest.py:51 > > > > Nit: Remove blank line between comment and variables. Fixed.
Note You need to log in before you can comment on or make changes to this bug.