[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Turning off tests leads to a different store item
From: |
Felix Lechner |
Subject: |
Re: Turning off tests leads to a different store item |
Date: |
Wed, 08 Nov 2023 09:07:40 -0800 |
Hi Maxim,
On Wed, Nov 08 2023, Maxim Cournoyer wrote:
> A source tree doesn't produce a derivation. A derivation is the
> complete build recipe that captures the source and the package
> definition, that when built by the daemon produces a store item.
Okay, thanks! Now I'm going to get it right:
The store item that is produced should not change whether build-time
tests run or not.
It does not make sense (and wastes resources) to rebuild a consuming
package because build-time tests were enabled or disabled in an input.
The historical version of openssl gave rise to this thread. It did not
build anymore because the tests no longer worked with the certificates
shipped in that release (a common problem in TLS libraries). Rebuilding
openssl without running the tests rendered the rebuild useless because
it produced a different store item. That should not happen.
Does that make more sense?
Kind regards
Felix
- Re: Turning off tests leads to a different store item, (continued)
- Re: Turning off tests leads to a different store item, Greg Hogan, 2023/11/02
- Re: Turning off tests leads to a different store item, Suhail, 2023/11/02
- Re: Turning off tests leads to a different store item, Suhail, 2023/11/02
- Re: Turning off tests leads to a different store item, Suhail, 2023/11/03
- 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 <=
- 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, 2023/11/09
- 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