RE: Spec Coverage Tool

Hello Tobie,



Thanks for the reply. That got me a little more further. Here's what I'm seeing now:



[ERROR] Error: Command failed: execvp(): No such file or directory

(http://localhost:3017/tools/coverage/loader.html?/html/syntax/parsing/named-character-references.html)

[ERROR] Error: Command failed: execvp(): No such file or directory

(http://localhost:3017/tools/coverage/loader.html?/html/syntax/parsing/foreign_content_006.html)

[ERROR] Error: Command failed: execvp(): No such file or directory

(http://localhost:3017/tools/coverage/loader.html?/html/syntax/parsing/testInnerHTML_tests4.html)

[ERROR] Error: Command failed: execvp(): No such file or directory

(http://localhost:3017/tools/coverage/loader.html?/html/syntax/parsing/foreign_content_005.html)

[ERROR] Error: Command failed: execvp(): No such file or directory

(http://localhost:3017/tools/coverage/loader.html?/html/syntax/parsing/test_tests21.html)

[ERROR] Error: Command failed: execvp(): No such file or directory

(http://localhost:3017/tools/coverage/loader.html?/html/syntax/parsing/test_scripted_adoption01.html)

[ERROR] Error: Command failed: execvp(): No such file or directory

(http://localhost:3017/tools/coverage/loader.html?/html/syntax/parsing/test_tests6.html)

[ERROR] Error: Command failed: execvp(): No such file or directory

……..







-----Original Message-----
From: Tobie Langel [mailto:tobie@w3.org]
Sent: Thursday, June 20, 2013 1:12 PM
To: Nishant Shah
Cc: Amita Sethi; 'public-test-infra@w3.org'
Subject: Re: Spec Coverage Tool



Change line 14 of ./tools/coverage/test-data.js, from:



,   sources = ["html", "canvas2d", "microdata"]



to



,   sources = ["html", "2dcontext", "microdata"]



The tool is still very rough at present.



--tobie



On Thursday, June 20, 2013 at 7:54 PM, Nishant Shah wrote:



> Hello,

>

> We (at CableLabs) were able to get further in trying to get the Spec Coverage tool running on our local machines. This next error is where we are stuck right now:

>

> nshah@nshah-Ubuntu:~/web-platform-tests/tools/coverage$ node

> test-data.js

>

> fs.js:500

> return binding.readdir(pathModule._makeLong(path));

> ^

> Error: ENOENT, no such file or directory '/home/nshah/web-platform-tests/canvas2d'

> at Object.fs.readdirSync (fs.js:500:18) at

> exports.readdirSyncRecursive.readdirSyncRecursive

> (/home/nshah/web-platform-tests/tools/coverage/node_modules/wrench/lib

> /wrench.js:37:23) at Object.exports.readdirSyncRecursive

> (/home/nshah/web-platform-tests/tools/coverage/node_modules/wrench/lib

> /wrench.js:51:20) at listCandidates

> (/home/nshah/web-platform-tests/tools/coverage/test-data.js:28:24)

> at Object.<anonymous>

> (/home/nshah/web-platform-tests/tools/coverage/test-data.js:34:49)

> at Module._compile (module.js:449:26)

> at Object.Module._extensions..js (module.js:467:10) at Module.load

> (module.js:356:32) at Function.Module._load (module.js:312:12) at

> Module.runMain (module.js:492:10)

>

> Any ideas on how to proceed further?

>

> Regards,

> Nishant Shah

>

> -----Original Message-----

> From: Amita Sethi [mailto:A.Sethi@CableLabs.com]

> Sent: Tuesday, June 18, 2013 2:24 PM

> To: 'Tobie Langel'

> Cc: 'public-test-infra@w3.org (mailto:public-test-infra@w3.org)'

> Subject: RE: Spec Coverage Tool

>

> Yes, I do:

>

> $ type phantomjs

> phantomjs is hashed

> (/home/tak/phantomjs-1.9.1-linux-i686/bin/phantomjs)

> $ type node

> node is hashed (/home/tak/node-v0.10.11-linux-x86/bin/node)

> $

>

> -----Original Message-----

> From: Tobie Langel [mailto:tobie@w3.org]

> Sent: Tuesday, June 18, 2013 12:09 PM

> To: Amita Sethi

> Cc: 'public-test-infra@w3.org (mailto:public-test-infra@w3.org)'

> Subject: Re: Spec Coverage Tool

>

> Do you have PhantomJS installed?

>

> --tobie

>

>

> On Monday, June 17, 2013 at 11:12 PM, Amita Sethi wrote:

>

> > Some of us folks here at CableLabs are trying to get the spec coverage tool[1] running, but we are stuck at this error:

> >

> > $ node test-data.js

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro


> > wsing-the-web/read-media/pageload-image.html)

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro


> > wsing-the-web/read-media/pageload-video.html)

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro

> > wsing-the-web/read-text/load-text-plain.html)

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro


> > wsing-the-web/unloading-documents/001-1.html)

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro


> > wsing-the-web/unloading-documents/001.html)

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro


> > wsing-the-web/unloading-documents/001a.html)

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro


> > wsing-the-web/unloading-documents/001b.html)

> > [ERROR] Error: spawn ENOENT

> > (http://localhost:3017/tools/coverage/loader.html?/html/browsers/bro


> > wsing-the-web/unloading-documents/002-1.html)

> > (800+ more similar lines)

> > $

> >

> > Could someone help?

> > Thanks,

> > Amita

> > [1]:

> > https://github.com/w3c/web-platform-tests/tree/master/tools/coverage


>

Received on Thursday, 20 June 2013 21:13:11 UTC