-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Qt][NRWT] Pass --timeout to DRT/WTR if a test is marked as SLOW.
https://bugs.webkit.org/show_bug.cgi?id=90968. Reviewed by Csaba Osztrogonác. Added functionality in DRT and WTR to use any timeout value while running slow tests (eventually, any test). Now NRWT --time-out-ms determines the timeout value for the test. Added a flag in NRWT (supports_per_test_timeout) to indicate whether the current port supports setting timeout value per test (it's False by default; I enabled it only on Qt). Also corrected a typo in driver.py * DumpRenderTree/DumpRenderTree.h: (TestCommand::TestCommand): (TestCommand): * DumpRenderTree/DumpRenderTreeCommon.cpp: (parseInputLine): * DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::processLine): * Scripts/webkitpy/layout_tests/port/base.py: (Port.supports_per_test_timeout): * Scripts/webkitpy/layout_tests/port/driver.py: (Driver.run_test): (Driver._command_from_driver_input): * Scripts/webkitpy/layout_tests/port/qt.py: (QtPort.supports_per_test_timeout): * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::InjectedBundle): (WTR::InjectedBundle::didReceiveMessage): (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/InjectedBundle.h: * WebKitTestRunner/InjectedBundle/TestRunner.cpp: (WTR::TestRunner::setCustomTimeout): (WTR): * WebKitTestRunner/InjectedBundle/TestRunner.h: (TestRunner): * WebKitTestRunner/InjectedBundle/qt/TestRunnerQt.cpp: (WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded): * WebKitTestRunner/TestController.cpp: (WTR::TestController::TestController): (WTR::TestController::getCustomTimeout): (WTR): (WTR::TestCommand::TestCommand): (TestCommand): (WTR::parseInputLine): (WTR::TestController::runTest): (WTR::TestController::runUntil): * WebKitTestRunner/TestController.h: (TestController): * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::TestInvocation): (WTR::TestInvocation::setCustomTimeout): (WTR): (WTR::TestInvocation::invoke): * WebKitTestRunner/TestInvocation.h: (TestInvocation): Canonical link: https://commits.webkit.org/124643@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@139194 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
16 changed files
with
160 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,62 @@ | ||
2013-01-09 János Badics <[email protected]> | ||
|
||
[Qt][NRWT] Pass --timeout to DRT/WTR if a test is marked as SLOW. | ||
https://bugs.webkit.org/show_bug.cgi?id=90968. | ||
|
||
Reviewed by Csaba Osztrogonác. | ||
|
||
Added functionality in DRT and WTR to use any timeout value while running | ||
slow tests (eventually, any test). Now NRWT --time-out-ms determines the | ||
timeout value for the test. Added a flag in NRWT (supports_per_test_timeout) | ||
to indicate whether the current port supports setting timeout value | ||
per test (it's False by default; I enabled it only on Qt). | ||
Also corrected a typo in driver.py | ||
|
||
* DumpRenderTree/DumpRenderTree.h: | ||
(TestCommand::TestCommand): | ||
(TestCommand): | ||
* DumpRenderTree/DumpRenderTreeCommon.cpp: | ||
(parseInputLine): | ||
* DumpRenderTree/qt/DumpRenderTreeQt.cpp: | ||
(WebCore::DumpRenderTree::processLine): | ||
* Scripts/webkitpy/layout_tests/port/base.py: | ||
(Port.supports_per_test_timeout): | ||
* Scripts/webkitpy/layout_tests/port/driver.py: | ||
(Driver.run_test): | ||
(Driver._command_from_driver_input): | ||
* Scripts/webkitpy/layout_tests/port/qt.py: | ||
(QtPort.supports_per_test_timeout): | ||
* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: | ||
(WTR::InjectedBundle::InjectedBundle): | ||
(WTR::InjectedBundle::didReceiveMessage): | ||
(WTR::InjectedBundle::beginTesting): | ||
* WebKitTestRunner/InjectedBundle/InjectedBundle.h: | ||
* WebKitTestRunner/InjectedBundle/TestRunner.cpp: | ||
(WTR::TestRunner::setCustomTimeout): | ||
(WTR): | ||
* WebKitTestRunner/InjectedBundle/TestRunner.h: | ||
(TestRunner): | ||
* WebKitTestRunner/InjectedBundle/qt/TestRunnerQt.cpp: | ||
(WTR::TestRunner::initializeWaitToDumpWatchdogTimerIfNeeded): | ||
* WebKitTestRunner/TestController.cpp: | ||
(WTR::TestController::TestController): | ||
(WTR::TestController::getCustomTimeout): | ||
(WTR): | ||
(WTR::TestCommand::TestCommand): | ||
(TestCommand): | ||
(WTR::parseInputLine): | ||
(WTR::TestController::runTest): | ||
(WTR::TestController::runUntil): | ||
* WebKitTestRunner/TestController.h: | ||
(TestController): | ||
* WebKitTestRunner/TestInvocation.cpp: | ||
(WTR::TestInvocation::TestInvocation): | ||
(WTR::TestInvocation::setCustomTimeout): | ||
(WTR): | ||
(WTR::TestInvocation::invoke): | ||
* WebKitTestRunner/TestInvocation.h: | ||
(TestInvocation): | ||
|
||
2013-01-08 Gyuyoung Kim <[email protected]> | ||
|
||
Regression(r138681): Add HAVE(ACCESSIBILITY) guard to atk files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.