On Fri, Oct 23, 2015 at 09:14:54AM +0200, Jérémy Lal wrote:
> 2015-10-23 2:32 GMT+02:00 dann frazier <da...@debian.org>:
> 
> > Source: nodejs
> > Version: 4.0.0~dfsg-2
> > Severity: wishlist
> > Tags: patch
> >
> > Attached is a patch to add a couple simple autopkgtests to nodejs.
> >
> 
> Hello,
> beside a very simple test like
> nodejs -e "console.log('test');"

The attached patch should do that.

> i don't see the point of testing further since hundreds of tests are
> already run
> during package build.

I could also wrap those tests up to run against the host binary - is
that something you'd be interested in including?

fyi, my goal is to be able to run tests against an existing binary
package to make sure there are no issues due to an ancillary software
update (e.g. kernel).

diff -urpN nodejs-4.2.1~dfsg.orig/debian/control nodejs-4.2.1~dfsg/debian/control
--- nodejs-4.2.1~dfsg.orig/debian/control	2015-10-12 14:37:48.000000000 -0600
+++ nodejs-4.2.1~dfsg/debian/control	2015-10-26 15:49:51.084771900 -0600
@@ -25,6 +25,7 @@ Standards-Version: 3.9.6
 Homepage: http://nodejs.org/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/nodejs.git
 Vcs-Git: git://anonscm.debian.org/collab-maint/nodejs.git
+Testsuite: autopkgtest
 
 Package: nodejs-dev
 Section: devel
diff -urpN nodejs-4.2.1~dfsg.orig/debian/tests/control nodejs-4.2.1~dfsg/debian/tests/control
--- nodejs-4.2.1~dfsg.orig/debian/tests/control	1969-12-31 17:00:00.000000000 -0700
+++ nodejs-4.2.1~dfsg/debian/tests/control	2015-10-26 16:03:30.630280903 -0600
@@ -0,0 +1,2 @@
+Test-Command: /usr/bin/nodejs -e "console.log(\"test\");"
+Depends: nodejs

Reply via email to