<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-10-26 23:24 GMT+01:00 Jérémy Lal <span dir="ltr"><<a href="mailto:kapouer@melix.org" target="_blank">kapouer@melix.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div class="h5"><br><div class="gmail_extra"><br><div class="gmail_quote">2015-10-26 23:22 GMT+01:00 dann frazier <span dir="ltr"><<a href="mailto:dannf@dannf.org" target="_blank">dannf@dannf.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, Oct 23, 2015 at 09:14:54AM +0200, Jérémy Lal wrote:<br>
> 2015-10-23 2:32 GMT+02:00 dann frazier <<a href="mailto:dannf@debian.org" target="_blank">dannf@debian.org</a>>:<br>
><br>
> > Source: nodejs<br>
> > Version: 4.0.0~dfsg-2<br>
> > Severity: wishlist<br>
> > Tags: patch<br>
> ><br>
> > Attached is a patch to add a couple simple autopkgtests to nodejs.<br>
> ><br>
><br>
> Hello,<br>
> beside a very simple test like<br>
> nodejs -e "console.log('test');"<br>
<br>
</span>The attached patch should do that.<br>
<span><br>
> i don't see the point of testing further since hundreds of tests are<br>
> already run<br>
> during package build.<br>
<br>
</span>I could also wrap those tests up to run against the host binary - is<br>
that something you'd be interested in including?<br>
<br>
fyi, my goal is to be able to run tests against an existing binary<br>
package to make sure there are no issues due to an ancillary software<br>
update (e.g. kernel).<br>
<br>
</blockquote></div><br></div></div></div><div class="gmail_extra">Don't bother. It is true that autopkgtests have different use cases than tests done</div><div class="gmail_extra">during build. I'll apply your patch as is.</div></div></blockquote><div><br></div><div></div></div><br></div><div class="gmail_extra">Ha, spoke too fast (there should be an acronym for that).</div><div class="gmail_extra"><br></div><div class="gmail_extra">Maybe pure upstream js tests could be part of autopkgtests, because they just</div><div class="gmail_extra">require source package with patches applied + nodejs runtime.</div><div class="gmail_extra">The only (solvable) problem is to pass correct cpu param to the test suite.</div><div class="gmail_extra">That would separate building from testing, which is often a problem on buildd</div><div class="gmail_extra">servers where slowdowns can make some tests timeout. Maybe also more</div><div class="gmail_extra">control over autopkgtest environment could enable more tests (ipv6, tty).</div><div class="gmail_extra"><br></div><div class="gmail_extra">I'll look into it before next upstream release.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Jérémy</div><div class="gmail_extra"><br></div></div>