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

Antonio Terceiro terceiro at debian.org
Mon Sep 15 13:44:03 UTC 2014


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 <terceiro at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20140915/72795e50/attachment.sig>


More information about the Pkg-javascript-devel mailing list