Re: [Pkg-javascript-devel] default autopkgtest for nodejs modules

2014-09-15 Thread Antonio Terceiro
Hello,

On Thu, Sep 11, 2014 at 09:21:39PM +0200, Jérémy Lal wrote:
 Hi,
 
 version 3.5 of autopkgtest has a default test/control
 for ruby or perl packages.
 
 Node.js modules could also have a similar default test control:
 require('themodule')) where themodule is taken after package name
 (node-themodule).
 
 It is weaker (it doesn't run the upstream test suite) but it's better
 than nothing.
 
 Typical example at
 http://anonscm.debian.org/cgit/pkg-javascript/node-ansi.git/commit/?id=4932d564dbd982611edb74d208517852d5b45492
 
 Antonio, maybe you can help us with that ?

Sure. This process is in a bit of a heavy brainstorming at this point,
and we will probably extract the detection logic to a separate package
so that autopkgtest, sadt (from devscripts) and other runners that might
come into existance can share this behaviour.

I have committed support for nodejs in that new package, please check if
it suits your needs:

http://anonscm.debian.org/cgit/collab-maint/autodep8.git

Please feel free to commit there if you want to change something. To run
the test suite you can just `make test` or `./test.sh`

-- 
Antonio Terceiro terce...@debian.org


signature.asc
Description: Digital signature
___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

[Pkg-javascript-devel] default autopkgtest for nodejs modules

2014-09-11 Thread Jérémy Lal
Hi,

version 3.5 of autopkgtest has a default test/control
for ruby or perl packages.

Node.js modules could also have a similar default test control:
require('themodule')) where themodule is taken after package name
(node-themodule).

It is weaker (it doesn't run the upstream test suite) but it's better
than nothing.

Typical example at
http://anonscm.debian.org/cgit/pkg-javascript/node-ansi.git/commit/?id=4932d564dbd982611edb74d208517852d5b45492

Antonio, maybe you can help us with that ?

Thanks for considering

Jérémy.



___
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel