Title: [283745] trunk/Tools
Revision
283745
Author
stephan.sz...@sony.com
Date
2021-10-07 14:29:40 -0700 (Thu, 07 Oct 2021)

Log Message

[WinCairo] Support run-jsc-stress-tests without posix commands
https://bugs.webkit.org/show_bug.cgi?id=231101

Reviewed by Adrian Perez de Castro.

Add support for collecting the test result files when not on
a posix host platform by roughly emulating the find command
current used in ruby code when using the ruby-runner or
for playstation.

* Scripts/run-jsc-stress-tests:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (283744 => 283745)


--- trunk/Tools/ChangeLog	2021-10-07 21:25:07 UTC (rev 283744)
+++ trunk/Tools/ChangeLog	2021-10-07 21:29:40 UTC (rev 283745)
@@ -1,3 +1,17 @@
+2021-10-07  Stephan Szabo  <stephan.sz...@sony.com>
+
+        [WinCairo] Support run-jsc-stress-tests without posix commands
+        https://bugs.webkit.org/show_bug.cgi?id=231101
+
+        Reviewed by Adrian Perez de Castro.
+
+        Add support for collecting the test result files when not on
+        a posix host platform by roughly emulating the find command
+        current used in ruby code when using the ruby-runner or
+        for playstation.
+
+        * Scripts/run-jsc-stress-tests:
+
 2021-10-07  Jonathan Bedard  <jbed...@apple.com>
 
         [WebKitBot] Land local changes on production host

Modified: trunk/Tools/Scripts/run-jsc-stress-tests (283744 => 283745)


--- trunk/Tools/Scripts/run-jsc-stress-tests	2021-10-07 21:25:07 UTC (rev 283744)
+++ trunk/Tools/Scripts/run-jsc-stress-tests	2021-10-07 21:29:40 UTC (rev 283745)
@@ -2349,10 +2349,12 @@
         }
     else
         Dir.chdir($runnerDir) {
-            IO.popen(find_cmd).each_line {
-                | line |
-                processStatusLine(map, line)
-            }
+            Dir.glob("#{STATUS_FILE_PREFIX}*").each do |name|
+                if File.size(name) > 0
+                    line = File.open(name).first
+                    processStatusLine(map, "./#{name} #{line}")
+                end
+            end
         }
     end
     map
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to