[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning off tests leads to a different store item
From: |
Simon Tournier |
Subject: |
Re: Turning off tests leads to a different store item |
Date: |
Thu, 09 Nov 2023 08:37:15 +0100 |
Hi,
On Wed, 08 Nov 2023 at 22:17, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
> I agree it looks tricky to get it right (and even trickier to prove/test
> for it) :-).
Yeah. I have tried a rough “proof-of-concept” i.e., two derivations:
one which deletes ’check’ phase and the other which deletes ’build’
phase and depends on the former.
Re: Turning off tests leads to a different store item
Simon Tournier <zimon.toutoune@gmail.com>
Thu, 02 Nov 2023 18:02:18 +0100
id:86y1fgm6lh.fsf@gmail.com
https://lists.gnu.org/archive/html/help-guix/2023-11
86y1fgm6lh.fsf@gmail.com">https://yhetil.org/guix/86y1fgm6lh.fsf@gmail.com
In this simple case, it works. :-)
But to have something robust, IMHO, it would probably mean 1. create
other objects (record) different from <package> and revamp the build
systems. And then 2. rebuild many packages for 3. evaluate the ratio
between the number of packages that works this way vs the number of
packages that fails this way. Oof! That’s a fun project… :-)
> I think the lower fruits are in looking at making the test suite of the
> few common offenders more robust (using libfaketime or the likes) to
> prevent (re)occurrences of time bombs in the future.
I agree. On a side note, one of the issue is the time of some tests.
Sometimes, packaging is frustrating: build takes ages, then you fix some
tests, think it will be good, re-launch “guix build”, another test
failing, repeat. It could nice to be able to cache the result of the
build phase.
Cheers,
simon
- Re: Turning off tests leads to a different store item, (continued)
- Re: Turning off tests leads to a different store item, Maxim Cournoyer, 2023/11/07
- Re: Turning off tests leads to a different store item, Csepp, 2023/11/07
- Re: Turning off tests leads to a different store item, Felix Lechner, 2023/11/07
- Re: Turning off tests leads to a different store item, Maxim Cournoyer, 2023/11/08
- Re: Turning off tests leads to a different store item, Felix Lechner, 2023/11/08
- Re: Turning off tests leads to a different store item, Vagrant Cascadian, 2023/11/08
- Re: Turning off tests leads to a different store item, Saku Laesvuori, 2023/11/08
- Re: Turning off tests leads to a different store item, Simon Tournier, 2023/11/08
- Re: Turning off tests leads to a different store item, Maxim Cournoyer, 2023/11/08
- Re: Turning off tests leads to a different store item,
Simon Tournier <=
- Re: Turning off tests leads to a different store item, Maxim Cournoyer, 2023/11/09
- Re: Turning off tests leads to a different store item, Simon Tournier, 2023/11/16
- Re: Turning off tests leads to a different store item, Maxim Cournoyer, 2023/11/17