[lvm-devel] master - NIX: Mark builds with failed tests as such.
Petr Rockai
mornfall at fedoraproject.org
Thu Feb 5 13:42:49 UTC 2015
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b6884f8a87ee442b88d7c4b5dfb7af4a10c26670
Commit: b6884f8a87ee442b88d7c4b5dfb7af4a10c26670
Parent: 8b80e949ea320d202f5ccade2e79a5a3c5937368
Author: Petr Rockai <prockai at redhat.com>
AuthorDate: Sun Sep 14 11:12:12 2014 +0200
Committer: Petr Rockai <prockai at redhat.com>
CommitterDate: Thu Feb 5 13:47:20 2015 +0100
NIX: Mark builds with failed tests as such.
---
nix/default.nix | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/nix/default.nix b/nix/default.nix
index d023f6e..445b0a7 100644
--- a/nix/default.nix
+++ b/nix/default.nix
@@ -21,6 +21,8 @@ let
cat $i/test-results/list >> $out/test-results/list
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
'';
buildInputs = map (x: runTest (args // { flavour = x; }))
More information about the lvm-devel
mailing list