diff options
-rw-r--r-- | nixos/lib/testing.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix index 73b55ed6c060..c14f15a1ad5d 100644 --- a/nixos/lib/testing.nix +++ b/nixos/lib/testing.nix @@ -47,7 +47,7 @@ rec { '' mkdir -p $out/nix-support - LOGFILE=$out/log.xml tests='eval $ENV{testScript}; die $@ if $@;' ${driver}/bin/nixos-test-driver || failed=1 + LOGFILE=$out/log.xml tests='eval $ENV{testScript}; die $@ if $@;' ${driver}/bin/nixos-test-driver # Generate a pretty-printed log. xsltproc --output $out/log.html ${./test-driver/log2html.xsl} $out/log.xml @@ -63,8 +63,6 @@ rec { mkdir -p $out/coverage-data mv $i $out/coverage-data/$(dirname $(dirname $i)) done - - [ -z "$failed" ] || touch $out/nix-support/failed ''; # */ }; |