run-jsc-stress-tests should be smart enough to call JSRegress "regress/script-tests...
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Sep 2013 17:31:34 +0000 (17:31 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Sep 2013 17:31:34 +0000 (17:31 +0000)
commit12b32af6ecde2b9781f429a5a55cf622319fcf34
treeead30767723efb20accdd0c18c2bcb5e3f33aeed
parent84f06369e8842d60a5368f74f074365e572f6589
run-jsc-stress-tests should be smart enough to call JSRegress "regress/script-tests" rather than "script-tests"
https://bugs.webkit.org/show_bug.cgi?id=120994

Reviewed by Geoffrey Garen.

run-jsc-stress-tests accepts a list of directories containing tests.  It needs to
come up with names for all of them.  Currently it uses the basename of the test
directory.  But that means that JSRegress gets called "script-tests", which is
unfortunate since any directory in LayoutTests containing .js files will be
called "script-tests".  So, this changes run-jsc-stress-tests to use more than
just the basename if the basename has the word "tests" in it.  This causes
JSRegress to be called "regress/script-tests".

* Scripts/run-jsc-stress-tests:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/Scripts/run-jsc-stress-tests