hydra-users
[Top][All Lists]
Advanced

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

Re: customizing coverage


From: Ludovic Courtès
Subject: Re: customizing coverage
Date: Thu, 19 Jan 2012 17:43:23 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux)

Hello!

Thien-Thi Nguyen <address@hidden> skribis:

> For the "coverage" job only, i'd like to specify ‘-DUSE_NORMAL_EXIT’
> (either in ‘CFLAGS’ or ‘CPPFLAGS’).  Is that possible?

Yes:

diff --git a/rcs/release.nix b/rcs/release.nix
index c8d2237..29e3b62 100644
--- a/rcs/release.nix
+++ b/rcs/release.nix
@@ -70,6 +70,7 @@ in
 
       coverage = pkgs: {
         buildInputs = [pkgs.ed];
+        CPPFLAGS = "-DUSE_NORMAL_EXIT";
         inherit configureFlags;
       };
 
Thanks,
Ludo’.

reply via email to

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