Skip to contentSkip to conversation

master - NIX: Avoid a spurious failure when all tests pass.

PATCH Petr Rockai 1 participant 1 message Feb 5, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=734a183c5658c1f305a375da02bb24cccad566df
Commit:        734a183c5658c1f305a375da02bb24cccad566df
Parent:        bd0806e1f53f4b978cf298885e1d98365011ec3e
Author:        Petr Rockai <[email protected]>
AuthorDate:    Tue Sep 30 11:01:48 2014 +0200
Committer:     Petr Rockai <[email protected]>
CommitterDate: Thu Feb 5 13:47:21 2015 +0100

NIX: Avoid a spurious failure when all tests pass.

---
 nix/default.nix |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
nix/default.nix +1 -1
index 445b0a7..734fb3b 100644
@@ -22,7 +22,7 @@ let
          cp $i/test-results'/'*.txt $out/test-results/ || true
        done
        mkdir -p $out/nix-support
-       grep '\<failed\>' $out/test-results/list && touch $out/nix-support/failed
+       grep '\<failed\>' $out/test-results/list && touch $out/nix-support/failed || true
      '';
 
      buildInputs = map (x: runTest (args // { flavour = x; }))