[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to check installed binaries using the same tests in the source c
From: |
Bruno Haible |
Subject: |
Re: How to check installed binaries using the same tests in the source code? |
Date: |
Tue, 14 Jan 2025 20:48:14 +0100 |
Santiago Vila wrote:
> The Debian CI tests are not run at build time, they are independent,
> and they are used to check if it's ok that a package in unstable
> propagates to testing.
OK, so, to summarize: While the traditional definition of 'make installcheck'
is that it runs just after 'make install' [1], Debian works with two different
environments:
- The build environment, which creates the binaries,
- The test environment, which can be
- either a clone of the build environment, or
- weeks later, an environment with different versions of supporting
libraries and programs, with which interoperability is desired.
With this being clarified, we can think about the consequences...
Bruno
[1] GCS: "Perform installation tests (if any). The user must build and install
the program before running the tests."