Fix --no-sample-on-timeout command line argument
authorjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Sep 2016 17:59:18 +0000 (17:59 +0000)
committerjbedard@apple.com <jbedard@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Sep 2016 17:59:18 +0000 (17:59 +0000)
commitfa599d1d53b1d9d153b88113f59ebda690392e11
tree30f14254439a572880b1719a7444699d5692f94e
parentf047fdd36a0ea17d8f401f34e58d309896dee1f2
Fix --no-sample-on-timeout command line argument
https://bugs.webkit.org/show_bug.cgi?id=161507

Reviewed by Alexey Proskuryakov.

This patch fixes the —no-sample-on-timeout flag and correctly names spindumps as spindump.txt.

* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args): Fixed —-no-sample-on-timeout.
* Scripts/webkitpy/port/apple.py:
(ApplePort.sample_process): Use correct file name.
(ApplePort.spindump_file_path): Spindump and sample file names are different.
* Scripts/webkitpy/port/driver.py:
(Driver._check_for_driver_timeout): Check “sample_on_timeout” flag.
* Scripts/webkitpy/port/mac_unittest.py:
(MacTest.test_spindump): Modified for correct filename.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@205351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
Tools/Scripts/webkitpy/port/apple.py
Tools/Scripts/webkitpy/port/driver.py
Tools/Scripts/webkitpy/port/mac_unittest.py