Title: [276438] trunk/Tools
- Revision
- 276438
- Author
- [email protected]
- Date
- 2021-04-22 09:12:34 -0700 (Thu, 22 Apr 2021)
Log Message
Services EWS should run for webkitscmpy and webkitcorepy changes
https://bugs.webkit.org/show_bug.cgi?id=223941
Reviewed by Jonathan Bedard.
* CISupport/ews-build/steps.py:
(CheckPatchRelevance):
* CISupport/ews-build/steps_unittest.py: Added unit-test.
Modified Paths
Diff
Modified: trunk/Tools/CISupport/ews-build/steps.py (276437 => 276438)
--- trunk/Tools/CISupport/ews-build/steps.py 2021-04-22 16:04:13 UTC (rev 276437)
+++ trunk/Tools/CISupport/ews-build/steps.py 2021-04-22 16:12:34 UTC (rev 276438)
@@ -387,6 +387,8 @@
'Tools/CISupport/ews-build',
'Tools/CISupport/Shared',
'Tools/Scripts/libraries/resultsdbpy',
+ 'Tools/Scripts/libraries/webkitcorepy',
+ 'Tools/Scripts/libraries/webkitscmpy',
]
jsc_paths = [
Modified: trunk/Tools/CISupport/ews-build/steps_unittest.py (276437 => 276438)
--- trunk/Tools/CISupport/ews-build/steps_unittest.py 2021-04-22 16:04:13 UTC (rev 276437)
+++ trunk/Tools/CISupport/ews-build/steps_unittest.py 2021-04-22 16:12:34 UTC (rev 276438)
@@ -2753,6 +2753,17 @@
rc = self.runStep()
return rc
+ def test_relevant_services_patch(self):
+ file_names = ['Tools/CISupport/build-webkit-org', 'Tools/CISupport/ews-build', 'Tools/CISupport/Shared',
+ 'Tools/Scripts/libraries/resultsdbpy', 'Tools/Scripts/libraries/webkitcorepy', 'Tools/Scripts/libraries/webkitscmpy']
+ self.setupStep(CheckPatchRelevance())
+ self.setProperty('buildername', 'Services-EWS')
+ for file_name in file_names:
+ CheckPatchRelevance._get_patch = lambda x: 'Sample patch; file: {}'.format(file_name)
+ self.expectOutcome(result=SUCCESS, state_string='Patch contains relevant changes')
+ rc = self.runStep()
+ return rc
+
def test_relevant_bindings_tests_patch(self):
file_names = ['Source/WebCore', 'Tools']
self.setupStep(CheckPatchRelevance())
Modified: trunk/Tools/ChangeLog (276437 => 276438)
--- trunk/Tools/ChangeLog 2021-04-22 16:04:13 UTC (rev 276437)
+++ trunk/Tools/ChangeLog 2021-04-22 16:12:34 UTC (rev 276438)
@@ -1,3 +1,14 @@
+2021-04-22 Aakash Jain <[email protected]>
+
+ Services EWS should run for webkitscmpy and webkitcorepy changes
+ https://bugs.webkit.org/show_bug.cgi?id=223941
+
+ Reviewed by Jonathan Bedard.
+
+ * CISupport/ews-build/steps.py:
+ (CheckPatchRelevance):
+ * CISupport/ews-build/steps_unittest.py: Added unit-test.
+
2021-04-22 Sam Sneddon <[email protected]>
Add an xfail marker for webkitpy's tests; get SCM passing
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes