[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 19:22:39 +0100 |
Hello Santiago,
> > (A) For packages that install independent programs, like coreutils
> > or diffutils, the most frequent types of installation bugs are:
> > - program not installed or installed in wrong location,
> > - shared libraries that are needed by the programs are not
> > not installed or installed in a location not listed in RPATH.
> > The Automake-generated default 'installcheck', that — as you say —
> > invokes all programs with --version and --help is a good and fast
> > test against these installation bugs.
>
> I would say that it's even most frequent that some program produces
> a different output than the expected.
Why? If the executable is simply copied from the builddir to $PREFIX/bin,
what can go wrong?
Bruno