Title: [247258] trunk/Tools
Revision
247258
Author
[email protected]
Date
2019-07-09 09:14:04 -0700 (Tue, 09 Jul 2019)

Log Message

[ews-build] Do not run unix commands for windows in PrintConfiguration
https://bugs.webkit.org/show_bug.cgi?id=199605

Reviewed by Jonathan Bedard.

* BuildSlaveSupport/ews-build/steps.py:

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/ews-build/steps.py (247257 => 247258)


--- trunk/Tools/BuildSlaveSupport/ews-build/steps.py	2019-07-09 15:29:31 UTC (rev 247257)
+++ trunk/Tools/BuildSlaveSupport/ews-build/steps.py	2019-07-09 16:14:04 UTC (rev 247258)
@@ -1221,11 +1221,9 @@
     flunkOnFailure = False
     warnOnFailure = False
     logEnviron = False
-    command_list_generic = [['hostname'],
-                    ['df', '-hl'],
-                    ['date']]
-    command_list_apple = [['sw_vers'], ['xcodebuild', '-sdk', '-version']]
-    command_list_linux = [['uname', '-a']]
+    command_list_generic = [['hostname']]
+    command_list_apple = [['df', '-hl'], ['date'], ['sw_vers'], ['xcodebuild', '-sdk', '-version']]
+    command_list_linux = [['df', '-hl'], ['date'], ['uname', '-a']]
     command_list_win = [[]]  # TODO: add windows specific commands here
 
     def __init__(self, **kwargs):

Modified: trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py (247257 => 247258)


--- trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py	2019-07-09 15:29:31 UTC (rev 247257)
+++ trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py	2019-07-09 16:14:04 UTC (rev 247258)
@@ -1832,8 +1832,6 @@
 
         self.expectRemoteCommands(
             ExpectShell(command=['hostname'], workdir='wkdir', timeout=60, logEnviron=False) + 0,
-            ExpectShell(command=['df', '-hl'], workdir='wkdir', timeout=60, logEnviron=False) + 0,
-            ExpectShell(command=['date'], workdir='wkdir', timeout=60, logEnviron=False) + 0,
         )
         self.expectOutcome(result=SUCCESS, state_string='Printed configuration')
         return self.runStep()

Modified: trunk/Tools/ChangeLog (247257 => 247258)


--- trunk/Tools/ChangeLog	2019-07-09 15:29:31 UTC (rev 247257)
+++ trunk/Tools/ChangeLog	2019-07-09 16:14:04 UTC (rev 247258)
@@ -1,3 +1,12 @@
+2019-07-08  Aakash Jain  <[email protected]>
+
+        [ews-build] Do not run unix commands for windows in PrintConfiguration
+        https://bugs.webkit.org/show_bug.cgi?id=199605
+
+        Reviewed by Jonathan Bedard.
+
+        * BuildSlaveSupport/ews-build/steps.py:
+
 2019-07-08  Fujii Hironori  <[email protected]>
 
         JSTestGlobalObject.cpp of bindings-generation-tests is failing for Windows Python
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to