Title: [287202] trunk/Tools
Revision
287202
Author
[email protected]
Date
2021-12-17 12:55:28 -0800 (Fri, 17 Dec 2021)

Log Message

[JSC] Fix runscript's standalone ability to run
https://bugs.webkit.org/show_bug.cgi?id=234166

Reviewed by Mark Lam.

r286109 broke the ability to run `runscript` as a standalone script to test JSC stress test package on the device.
This patch reverts the ability back.

* Scripts/jsc-stress-test-helpers/shell-runner.sh:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (287201 => 287202)


--- trunk/Tools/ChangeLog	2021-12-17 20:08:28 UTC (rev 287201)
+++ trunk/Tools/ChangeLog	2021-12-17 20:55:28 UTC (rev 287202)
@@ -1,3 +1,15 @@
+2021-12-17  Yusuke Suzuki  <[email protected]>
+
+        [JSC] Fix runscript's standalone ability to run
+        https://bugs.webkit.org/show_bug.cgi?id=234166
+
+        Reviewed by Mark Lam.
+
+        r286109 broke the ability to run `runscript` as a standalone script to test JSC stress test package on the device.
+        This patch reverts the ability back.
+
+        * Scripts/jsc-stress-test-helpers/shell-runner.sh:
+
 2021-12-17  Alex Christensen  <[email protected]>
 
         Remove API::Object::Type::BundlePageGroup

Modified: trunk/Tools/Scripts/jsc-stress-test-helpers/shell-runner.sh (287201 => 287202)


--- trunk/Tools/Scripts/jsc-stress-test-helpers/shell-runner.sh	2021-12-17 20:08:28 UTC (rev 287201)
+++ trunk/Tools/Scripts/jsc-stress-test-helpers/shell-runner.sh	2021-12-17 20:55:28 UTC (rev 287202)
@@ -41,7 +41,12 @@
 trap "kill -9 0" INT HUP TERM
 
 echo 0 > ${indexFile}
-cp "$originalTestList" "$testList"
+if [ -z "$originalTestList" ]
+then
+    find . -maxdepth 1 -name 'test_script_*' | sort -t '_' -k3nr > ${testList}
+else
+    cp "$originalTestList" "$testList"
+fi
 
 lock_test_list() {
     until mkdir ${lockDir} 2> /dev/null; do sleep 0; done
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to