Title: [272230] trunk/Tools
- Revision
- 272230
- Author
- [email protected]
- Date
- 2021-02-02 13:23:24 -0800 (Tue, 02 Feb 2021)
Log Message
[webkitpy] WinPort.delete_sem_locks is cygwin specific
https://bugs.webkit.org/show_bug.cgi?id=221277
Reviewed by Jonathan Bedard.
WinPort.delete_sem_locks does `rm -rf /dev/shm/sem.*` which is only relavent when
running cygwin. Just put a test for cygwin around the command invocation.
* Scripts/webkitpy/port/win.py:
(WinPort.delete_sem_locks):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (272229 => 272230)
--- trunk/Tools/ChangeLog 2021-02-02 21:15:50 UTC (rev 272229)
+++ trunk/Tools/ChangeLog 2021-02-02 21:23:24 UTC (rev 272230)
@@ -1,3 +1,16 @@
+2021-02-02 Don Olmstead <[email protected]>
+
+ [webkitpy] WinPort.delete_sem_locks is cygwin specific
+ https://bugs.webkit.org/show_bug.cgi?id=221277
+
+ Reviewed by Jonathan Bedard.
+
+ WinPort.delete_sem_locks does `rm -rf /dev/shm/sem.*` which is only relavent when
+ running cygwin. Just put a test for cygwin around the command invocation.
+
+ * Scripts/webkitpy/port/win.py:
+ (WinPort.delete_sem_locks):
+
2021-02-02 Alex Christensen <[email protected]>
Adopt UIEventAttribution instead of _UIEventAttribution
Modified: trunk/Tools/Scripts/webkitpy/port/win.py (272229 => 272230)
--- trunk/Tools/Scripts/webkitpy/port/win.py 2021-02-02 21:15:50 UTC (rev 272229)
+++ trunk/Tools/Scripts/webkitpy/port/win.py 2021-02-02 21:23:24 UTC (rev 272230)
@@ -370,7 +370,8 @@
self.write_registry_value(self.WOW64_WINDOWS_ERROR_REPORTING_KEY, key[0], key[1], key[2], value[1], value[0])
def delete_sem_locks(self):
- os.system("rm -rf /dev/shm/sem.*")
+ if self.is_cygwin():
+ os.system("rm -rf /dev/shm/sem.*")
def delete_preference_files(self):
try:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes