[Webkit-unassigned] [Bug 185783] test262/Runner.pm: add unit tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 22 14:20:54 PDT 2018


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

--- Comment #11 from valerie <valerie at bocoup.com> ---
(In reply to Jonathan Bedard from comment #10)

> > Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl:48
> > +my $ToolsPath = $ENV{'WEBKIT_LIBRARIES'};
> 
> Nit: Not a class, should start with a lower-case T
> 
> Also, I'm pretty sure this isn't the right way to do this.  Just tried
> applying your patch and running locally on my machine (via test-webkitperl)
> I see errors like this:
> Can't exec "/Tools/Scripts/test262-runner": No such file or directory at
> Tools/Scripts/webkitperl/test262_unittest/test262-runner-tests.pl line 132.
> 

I copied this from other tests in webkitperl. I also set WEBKIT_LIBRARIES in my bash scripts -- I thought it might be standard? Perhaps not if you haven't heard of it. 

Can you think of a better way to do it, or should I just keep this (as it's at least consistent with a couple other webkit perl scripts?

I originally wanted to use webkitperl.pm, but that module doesn't expose `determineSourceDir` -- the function to get the root of the webkit directory repo.

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


More information about the webkit-unassigned mailing list