[webkit-dev] how to run mozilla test cases one by one using JSC

Jason Rukman JasonR at bsquare.com
Wed Nov 18 10:50:48 PST 2009


I had to do this same thing as I didn't have perl on our platform.  I
found modifying the perl script to output just the commands instead of
actually running them was helpful.  I could then just grab this output
and run it wherever.

Regards,
Jason.

-----Original Message-----
From: webkit-dev-bounces at lists.webkit.org
[mailto:webkit-dev-bounces at lists.webkit.org] On Behalf Of Oliver Hunt
Sent: Tuesday, November 17, 2009 3:47 PM
To: ll Jefferry
Cc: WebKit Development
Subject: Re: [webkit-dev] how to run mozilla test cases one by one using
JSC

You should simply copy the entire command line you see in the
run-javascriptcore-tests output, eg.
/path/to/jsc  -s  -f ./ecma/shell.js -f ./ecma/Date/15.9.5.17.js

--Oliver

On Nov 6, 2009, at 12:14 AM, ll Jefferry wrote:

> Hi,
>  
>    I bring up webkit with jit on my stb box. I want to test the jit if
it is fine. When i run the mozilla test cases, i found that it need the
perl tools. But my platform has not the perl environment, my question is
that:
>  
> can i run the test cases one by one  under shell environment? such us
./jsc -f xxxx.js
> and can you tell me how to do this? when i run "./jsc -f
./emac/array/15-4.1.js", it always exit with code 3. That means it get
error.
>  
>  
> BR,
> Jeff
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

_______________________________________________
webkit-dev mailing list
webkit-dev at lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


More information about the webkit-dev mailing list