Niels Thykier, le sam. 12 sept. 2020 16:49:17 +0200, a ecrit:
> Samuel Thibault:
> > Niels Thykier, le sam. 12 sept. 2020 14:12:55 +0200, a ecrit:
> >> It occurs to me that you need this for debugging.  Would it help you if
> >> debhelper provided a way for you to intercept the failure and resume the
> >> build from there?
> > 
> > That can be a start yes, indeed.
> > 
> > It happens that another thing I often do is build the package, install
> > it, try what I get, change the source, quickly rebuild the package with
> > -nc, reinstall, etc.  With dh < 10 I used a homemade dh_rebuild script
> > that clears all steps after dh_auto_build in the log. Is there a way to
> > achieve the same with dh >= 10?
> 
> By default, debhelper tracks that it has run the build target and will
> resume from there on a "-nc".

Ah, right.

> The devil in the detail here is that I suspect that you also want to
> re-run dh_auto_test and that is on the "wrong" side of that "restart
> point".

That may happen, yes, although way less often.

Could there perhaps be a way to specify at which point we want to make
-nc restart from?

Samuel

Reply via email to