bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: misc/groups-dash fails due to enable-no-install-program=groups


From: Mike Frysinger
Subject: Re: misc/groups-dash fails due to enable-no-install-program=groups
Date: Thu, 12 Mar 2009 09:24:32 -0400
User-agent: KMail/1.11.1 (Linux/2.6.28; KDE/4.2.1; x86_64; ; )

On Thursday 12 March 2009 09:05:25 Jim Meyering wrote:
> Mike Frysinger wrote:
> > it's been a while, so i dont remember if this has been reported already,
> > but if groups is disabled via the command line, the misc/groups-dash test
> > is still run.  since the groups program is not coming from coreutils, the
> > output is not as expected and things fail.  perhaps a new func in
> > test-lib.sh like: require_program_()
> > {
> >   test -x "$abs_top_builddir/src/$1" || \
> >     skip_test_ "the $1 program was disabled"
> > }
> > and then the groups test can do:
> > require_program_ groups
>
> There's already a require_built_ function, but it's not really well-named,
> since the programs you'd name as argument *are* built.  The configure-time
> --enable-no-install-program option determines solely whether to install
> them.  For example, even though most builds don't install "arch", you'll
> notice that it *is* always built.  This is a feature: it helps prevent
> bit rot of programs that few will end up actually using.  At least we'll
> know they still compile.

are you sure about that ?  i downloaded the snapshot you just posted and ran:

>   ./configure --enable-no-install-program=groups && make

and i did not get a src/groups binary
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]