chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] new CHICKEN 5 egg installation


From: Mario Domenech Goulart
Subject: Re: [Chicken-hackers] new CHICKEN 5 egg installation
Date: Thu, 23 Feb 2017 07:36:50 +0100

Hi John,

On Wed, 22 Feb 2017 17:47:11 -0500 John Cowan <address@hidden> wrote:

> On Wed, Feb 22, 2017 at 4:58 PM, Mario Domenech Goulart <address@hidden> 
> wrote:
>
>     > * "-test" implies that all tests are executed, including
>     dependencies; or should only those tests run that belong to the
>     eggs explicitly given on the command line?
>     
>     I personally like the current behavior in C4 (run tests only for
>     eggs explicitly given on the command line).
>
> I like the recursive behavior better. If you want to test your eggs
> before using them, why would you care whether they are installed by
> hand or as a dependency?

Egg tests don't get installed.

Sometimes you just don't care about other eggs' tests, sometimes tests
are known to be broken [1], sometimes you don't have all the
requirements for tests and they'll break anyway.  If -test is recursive,
there's no easy way to skip tests you don't want.  If -test is not
recursive, you can always come up with a way to execute all tests for
all dependencies (you can make a script based on the dependency tree or
use test tools like salmonella).

[1] 
https://salmonella-linux-x86-64.call-cc.org/master-debugbuild/gcc/linux/x86-64/2017/02/22/salmonella-report/#installation-succeeded-test-failed

All the best.
Mario
-- 
http://parenteses.org/mario



reply via email to

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