Title: [277985] trunk/Tools
Revision
277985
Author
stephan.sz...@sony.com
Date
2021-05-24 17:07:50 -0700 (Mon, 24 May 2021)

Log Message

[PlayStation] Update scripts for JSC test changes
https://bugs.webkit.org/show_bug.cgi?id=226181

Reviewed by Ross Kirsling.

Update the scripts to pass the status file location and
unique test id into the runner for handling some crash
cases, and update the status command because the status
is written as a number in our case rather than being
the return type from executing the program directly.

* Scripts/webkitruby/jsc-stress-test-writer-playstation.rb:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (277984 => 277985)


--- trunk/Tools/ChangeLog	2021-05-25 00:03:46 UTC (rev 277984)
+++ trunk/Tools/ChangeLog	2021-05-25 00:07:50 UTC (rev 277985)
@@ -1,3 +1,18 @@
+2021-05-24  Stephan Szabo  <stephan.sz...@sony.com>
+
+        [PlayStation] Update scripts for JSC test changes
+        https://bugs.webkit.org/show_bug.cgi?id=226181
+
+        Reviewed by Ross Kirsling.
+
+        Update the scripts to pass the status file location and
+        unique test id into the runner for handling some crash
+        cases, and update the status command because the status
+        is written as a number in our case rather than being
+        the return type from executing the program directly.
+
+        * Scripts/webkitruby/jsc-stress-test-writer-playstation.rb:
+
 2021-05-24  Chris Fleizach  <cfleiz...@apple.com>
 
         AX: Settings: Increase contrast isn't detected in browser until an additional setting is applied

Modified: trunk/Tools/Scripts/webkitruby/jsc-stress-test-writer-playstation.rb (277984 => 277985)


--- trunk/Tools/Scripts/webkitruby/jsc-stress-test-writer-playstation.rb	2021-05-25 00:03:46 UTC (rev 277984)
+++ trunk/Tools/Scripts/webkitruby/jsc-stress-test-writer-playstation.rb	2021-05-25 00:07:50 UTC (rev 277985)
@@ -311,7 +311,7 @@
         # something that's clearly invalid.
         <<-END_STATUS_COMMAND
           File.open("#{statusFile}", "w") { |f|
-              f.puts("#{$runUniqueId} \#{status.nil? ? 999999999 : status.exitstatus} #{status_code}")
+              f.puts("#{$runUniqueId} \#{status.nil? ? 999999999 : status} #{status_code}")
           }
         END_STATUS_COMMAND
     end
@@ -358,6 +358,7 @@
                 outputName: @name.gsub(/(\\|\/)/, '_'),
                 checkScript: filename,
                 args: @arguments,
+                statusFile: "#{statusFile}",
             })
         }
 
@@ -412,7 +413,7 @@
     options = ENV["JSCTEST_options"]
 
     fsRoot = $jscPath.dirname
-    command = "PlayStationTestRunner #{options} -numProcesses=#{$numChildProcesses.to_s} -exe=#{$jscPath} -fsroot=#{fsRoot} @#{$runnerDir}/runscript"
+    command = "PlayStationTestRunner #{options} -numProcesses=#{$numChildProcesses.to_s} -exe=#{$jscPath} -fsroot=#{fsRoot} --runUniqueId=#{$runUniqueId} @#{$runnerDir}/runscript"
 
     print command
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to