WebKit Bugzilla
Attachment 347103 Details for
Bug 188498
: [ews-build] Add build step to run WK1 layout-test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for landing
ews_wk1_layout_tests_v2.patch (text/plain), 3.58 KB, created by
Aakash Jain
on 2018-08-14 12:34:34 PDT
(
hide
)
Description:
Patch for landing
Filename:
MIME Type:
Creator:
Aakash Jain
Created:
2018-08-14 12:34:34 PDT
Size:
3.58 KB
patch
obsolete
>Index: Tools/ChangeLog >=================================================================== >--- Tools/ChangeLog (revision 234860) >+++ Tools/ChangeLog (working copy) >@@ -1,3 +1,14 @@ >+2018-08-14 Aakash Jain <aakash_jain@apple.com> >+ >+ [ews-build] Add build step to run WK1 layout-test >+ https://bugs.webkit.org/show_bug.cgi?id=188498 >+ >+ Reviewed by Lucas Forschler. >+ >+ * BuildSlaveSupport/ews-build/steps.py: >+ (RunWebKit1Tests): Class to run WebKit1Tests. >+ * BuildSlaveSupport/ews-build/steps_unittest.py: Added unit-tests. >+ > 2018-08-14 Patrick Griffis <pgriffis@igalia.com> > > [Flatpak] Fix --cmakeargs >Index: Tools/BuildSlaveSupport/ews-build/steps.py >=================================================================== >--- Tools/BuildSlaveSupport/ews-build/steps.py (revision 234860) >+++ Tools/BuildSlaveSupport/ews-build/steps.py (working copy) >@@ -423,6 +423,13 @@ class RunWebKitTests(shell.Test): > return shell.Test.start(self) > > >+class RunWebKit1Tests(RunWebKitTests): >+ def start(self): >+ self.setCommand(self.command + ['--dump-render-tree']) >+ >+ return RunWebKitTests.start(self) >+ >+ > class ArchiveBuiltProduct(shell.ShellCommand): > command = ['python', 'Tools/BuildSlaveSupport/built-product-archive', > WithProperties('--platform=%(fullPlatform)s'), WithProperties('--%(configuration)s'), 'archive'] >Index: Tools/BuildSlaveSupport/ews-build/steps_unittest.py >=================================================================== >--- Tools/BuildSlaveSupport/ews-build/steps_unittest.py (revision 234860) >+++ Tools/BuildSlaveSupport/ews-build/steps_unittest.py (working copy) >@@ -756,6 +756,42 @@ class TestRunWebKitTests(BuildStepMixinA > return self.runStep() > > >+class TestRunWebKit1Tests(BuildStepMixinAdditions, unittest.TestCase): >+ def setUp(self): >+ self.longMessage = True >+ return self.setUpBuildStep() >+ >+ def tearDown(self): >+ return self.tearDownBuildStep() >+ >+ def test_success(self): >+ self.setupStep(RunWebKit1Tests()) >+ self.setProperty('fullPlatform', 'ios-11') >+ self.setProperty('configuration', 'debug') >+ self.expectRemoteCommands( >+ ExpectShell(workdir='wkdir', >+ command=['python', 'Tools/Scripts/run-webkit-tests', '--no-build', '--no-new-test-results', '--no-show-results', '--exit-after-n-failures', '30', '--skip-failing-tests', '--debug', '--dump-render-tree', '--results-directory', 'layout-test-results', '--debug-rwt-logging'], >+ ) >+ + 0, >+ ) >+ self.expectOutcome(result=SUCCESS, state_string='layout-tests') >+ return self.runStep() >+ >+ def test_failure(self): >+ self.setupStep(RunWebKit1Tests()) >+ self.setProperty('fullPlatform', 'ios-11') >+ self.setProperty('configuration', 'release') >+ self.expectRemoteCommands( >+ ExpectShell(workdir='wkdir', >+ command=['python', 'Tools/Scripts/run-webkit-tests', '--no-build', '--no-new-test-results', '--no-show-results', '--exit-after-n-failures', '30', '--skip-failing-tests', '--release', '--dump-render-tree', '--results-directory', 'layout-test-results', '--debug-rwt-logging'], >+ ) >+ + ExpectShell.log('stdio', stdout='9 failures found.') >+ + 2, >+ ) >+ self.expectOutcome(result=FAILURE, state_string='layout-tests (failure)') >+ return self.runStep() >+ >+ > class TestArchiveBuiltProduct(BuildStepMixinAdditions, unittest.TestCase): > def setUp(self): > self.longMessage = True
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 188498
:
346995
| 347103