Title: [294825] trunk/Tools/Scripts/run-jsc-stress-tests
- Revision
- 294825
- Author
- [email protected]
- Date
- 2022-05-25 14:47:41 -0700 (Wed, 25 May 2022)
Log Message
[run-jsc-stress-tests] Catch user error
https://bugs.webkit.org/show_bug.cgi?id=240905
Reviewed by Adrian Perez de Castro and Jonathan Bedard.
When the user has made a typo in the argument to --filter (selecting no
tests to execute), bring that to the user's attention instead of exiting
without an error.
* Tools/Scripts/run-jsc-stress-tests:
Canonical link: https://commits.webkit.org/250977@main
Modified Paths
Diff
Modified: trunk/Tools/Scripts/run-jsc-stress-tests (294824 => 294825)
--- trunk/Tools/Scripts/run-jsc-stress-tests 2022-05-25 21:38:32 UTC (rev 294824)
+++ trunk/Tools/Scripts/run-jsc-stress-tests 2022-05-25 21:47:41 UTC (rev 294825)
@@ -2462,6 +2462,11 @@
handleCollection(collection)
}
+ if $runlist.size == 0
+ $stderr.puts("No tests selected for execution (overzealous --filter?)")
+ exit(2)
+ end
+
puts
end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes