i3: Abort build if test suite is failing.
The exit code of the i3 test runner is always 0, regardless of whether tests were failing or not, so let's quickly grep for a "not ok" in the test logfile and if it occurs, the whole build is failing now. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
2c1d04a563
commit
31e77f5096
@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
|
||||
checkPhase = ''
|
||||
ln -sf "${xdummy}/bin/xdummy" testcases/Xdummy
|
||||
(cd testcases && perl complete-run.pl)
|
||||
! grep -q '^not ok' testcases/latest/complete-run.log
|
||||
'';
|
||||
|
||||
configurePhase = "makeFlags=PREFIX=$out";
|
||||
|
Loading…
x
Reference in New Issue
Block a user