[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Splitting some erc tests
From: |
Lars Ingebrigtsen |
Subject: |
Re: Splitting some erc tests |
Date: |
Wed, 25 May 2022 14:02:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> My intuition tells me to first give those tests some unique name
> pattern, so that we can use a different rule like
>
> %-par2.log: %-par2.elc %-2.1-part.log %-2.2-part.log
> cat $*-2.1-part.log $*-2.2-part.log >$@
Hm...
> Generalizing this to `%-parN.log` and writing the rules for
> `%-N.M-part.log` is left as an exercise for the reader.
Darn!
> BTW I don't think we need to know the `-j` arg passed to `make` to
> decide how to split the files: just split them into coarse enough grains
> that splitting them doesn't slow down the -j1 case significantly.
I was hoping for a solution where -j1 didn't split anything -- it'd make
things easier to debug (and debugging ert failures is already hard
enough).
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no