Title: [254777] trunk/Tools
- Revision
- 254777
- Author
- [email protected]
- Date
- 2020-01-17 16:32:48 -0800 (Fri, 17 Jan 2020)
Log Message
[EWS] Print disk space usage for windows bots
https://bugs.webkit.org/show_bug.cgi?id=206421
Reviewed by Jonathan Bedard.
* BuildSlaveSupport/ews-build/steps.py:
(PrintConfiguration): Windows bot use cygwin, so df command works.
Modified Paths
Diff
Modified: trunk/Tools/BuildSlaveSupport/ews-build/steps.py (254776 => 254777)
--- trunk/Tools/BuildSlaveSupport/ews-build/steps.py 2020-01-18 00:30:28 UTC (rev 254776)
+++ trunk/Tools/BuildSlaveSupport/ews-build/steps.py 2020-01-18 00:32:48 UTC (rev 254777)
@@ -1885,7 +1885,7 @@
command_list_generic = [['hostname']]
command_list_apple = [['df', '-hl'], ['date'], ['sw_vers'], ['xcodebuild', '-sdk', '-version'], ['uptime']]
command_list_linux = [['df', '-hl'], ['date'], ['uname', '-a'], ['uptime']]
- command_list_win = [[]] # TODO: add windows specific commands here
+ command_list_win = [['df', '-hl']]
def __init__(self, **kwargs):
super(PrintConfiguration, self).__init__(timeout=60, **kwargs)
@@ -1902,7 +1902,7 @@
command_list.extend(self.command_list_apple)
elif platform in ('gtk', 'wpe', 'jsc-only'):
command_list.extend(self.command_list_linux)
- elif platform in ('win', 'wincairo'):
+ elif platform in ('win'):
command_list.extend(self.command_list_win)
for command in command_list:
Modified: trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py (254776 => 254777)
--- trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py 2020-01-18 00:30:28 UTC (rev 254776)
+++ trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py 2020-01-18 00:32:48 UTC (rev 254777)
@@ -2775,6 +2775,7 @@
self.expectRemoteCommands(
ExpectShell(command=['hostname'], workdir='wkdir', timeout=60, logEnviron=False) + 0,
+ ExpectShell(command=['df', '-hl'], workdir='wkdir', timeout=60, logEnviron=False) + 0,
)
self.expectOutcome(result=SUCCESS, state_string='Printed configuration')
return self.runStep()
Modified: trunk/Tools/ChangeLog (254776 => 254777)
--- trunk/Tools/ChangeLog 2020-01-18 00:30:28 UTC (rev 254776)
+++ trunk/Tools/ChangeLog 2020-01-18 00:32:48 UTC (rev 254777)
@@ -1,5 +1,15 @@
2020-01-17 Aakash Jain <[email protected]>
+ [EWS] Print disk space usage for windows bots
+ https://bugs.webkit.org/show_bug.cgi?id=206421
+
+ Reviewed by Jonathan Bedard.
+
+ * BuildSlaveSupport/ews-build/steps.py:
+ (PrintConfiguration): Windows bot use cygwin, so df command works.
+
+2020-01-17 Aakash Jain <[email protected]>
+
[ews] Perform validation of patch before running layout-tests on Windows
https://bugs.webkit.org/show_bug.cgi?id=206424
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes