Title: [231652] trunk/Tools
Revision
231652
Author
[email protected]
Date
2018-05-10 12:11:47 -0700 (Thu, 10 May 2018)

Log Message

Support --verbose in run-_javascript_core-tests
https://bugs.webkit.org/show_bug.cgi?id=185492

Patch by Stephan Szabo <[email protected]> on 2018-05-10
Reviewed by Daniel Bates.

* Scripts/run-_javascript_core-tests:
(runJSCStressTests):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (231651 => 231652)


--- trunk/Tools/ChangeLog	2018-05-10 18:54:15 UTC (rev 231651)
+++ trunk/Tools/ChangeLog	2018-05-10 19:11:47 UTC (rev 231652)
@@ -1,3 +1,13 @@
+2018-05-10  Stephan Szabo  <[email protected]>
+
+        Support --verbose in run-_javascript_core-tests
+        https://bugs.webkit.org/show_bug.cgi?id=185492
+
+        Reviewed by Daniel Bates.
+
+        * Scripts/run-_javascript_core-tests:
+        (runJSCStressTests):
+
 2018-05-10  Valerie R Young  <[email protected]>
 
         test262/Runner.pm: --failing-files uses results file not expectations

Modified: trunk/Tools/Scripts/run-_javascript_core-tests (231651 => 231652)


--- trunk/Tools/Scripts/run-_javascript_core-tests	2018-05-10 18:54:15 UTC (rev 231651)
+++ trunk/Tools/Scripts/run-_javascript_core-tests	2018-05-10 19:11:47 UTC (rev 231652)
@@ -93,6 +93,7 @@
 my %jsonData = ();
 my $remoteConfigFile;
 my $jsonFileName;
+my $verbose = 0;
 
 if ($ENV{RUN_JAVASCRIPTCORE_TESTS_TESTMASM}) {
     if ($ENV{RUN_JAVASCRIPTCORE_TESTS_TESTMASM} eq "true") {
@@ -231,6 +232,7 @@
                                 Each environment variable should be separated by a space.
                                 e.g. \"foo=bar x=y\" (no quotes).
   --gmalloc:                    Run tests with Guard Malloc enabled (if no path is given: $gmallocDefaultPath is used)
+  --verbose:                    Verbose output (specify more than once to increase verbosity).
 
 Environment Variables:
   - set RUN_JAVASCRIPTCORE_TESTS_TESTMASM to "true" or "false" (no quotes) to determine if we run testmasm by default.
@@ -277,6 +279,7 @@
     'help' => \$showHelp,
     'env-vars=s' => \$envVars,
     'gmalloc:s' => \$gmallocPath,
+    'verbose+' => \$verbose
 );
 
 
@@ -517,6 +520,8 @@
         push(@jscStressDriverCmd, $filter);
     }
 
+    push(@jscStressDriverCmd, ("--verbose") x $verbose) if ($verbose > 0);
+
     unshift @jscStressDriverCmd, wrapperPrefixIfNeeded() if shouldUseJhbuild();
 
     # End option processing, the rest of the arguments are tests
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to