[Webkit-unassigned] [Bug 174985] [Win][JSCOnly] Support running JSC tests for win-cairo from windows command prompt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 29 17:57:11 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=174985

Keith Miller <keith_miller at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |keith_miller at apple.com
 Attachment #318643|review?                     |review-
              Flags|                            |

--- Comment #8 from Keith Miller <keith_miller at apple.com> ---
Comment on attachment 318643
  --> https://bugs.webkit.org/attachment.cgi?id=318643
Adding test-writer that generates ruby scripts and ruby runner for windows command prompt

View in context: https://bugs.webkit.org/attachment.cgi?id=318643&action=review

Looks pretty good. r- since I think the runner-script api could be cleaned up a bit though.

> Tools/Scripts/run-jsc-stress-tests:180
> +               ['--test-writer', GetoptLong::REQUIRED_ARGUMENT],

I don't think you need this argument. It seems like you should just pick the ruby test writer if --ruby-runner is provided.

> Tools/Scripts/run-jsc-stress-tests:454
> +require_relative "webkitruby/jsc-stress-test-writer-#{$testWriter}"

This should be decided based on the runner being used.

> Tools/Scripts/webkitruby/jsc-stress-test-writer-default.rb:355
> +def prepareRubyTestRunner
> +    File.open($runnerDir + "runscript", "w") {
> +        | outp |
> +        $runlist.each {
> +            | plan |
> +            outp.puts "print `sh test_script_#{plan.index} 2>&1`"
> +        }
> +    }
> +end

You should delete this.

> Tools/Scripts/webkitruby/jsc-stress-test-writer-default.rb:364
> +    when :ruby
> +        command = "ruby runscript"

Ditto.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170830/83791130/attachment.html>


More information about the webkit-unassigned mailing list