]> sourceware.org Git - lvm2.git/commitdiff
NIX: Avoid a spurious failure when all tests pass.
authorPetr Rockai <prockai@redhat.com>
Tue, 30 Sep 2014 09:01:48 +0000 (11:01 +0200)
committerPetr Rockai <prockai@redhat.com>
Thu, 5 Feb 2015 12:47:21 +0000 (13:47 +0100)
nix/default.nix

index 445b0a7f817201f8b004051ba1e0bf1113b10e7c..734fb3bb320b3b3dad36540ddb13bdeb1cfcb92e 100644 (file)
@@ -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; }))
This page took 0.030687 seconds and 5 git commands to generate.