diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-10 11:17:29 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-10 11:18:30 +0200 |
commit | 13dcb3523309c318e8dce59fae168ea39f98065c (patch) | |
tree | 81e147e257791cd4be048ed4210357ba0cd01d4f /nixos/lib/testing.nix | |
parent | 79fca7c3e46a4d9693671170ed6f3680705e0fee (diff) | |
download | nixlib-13dcb3523309c318e8dce59fae168ea39f98065c.tar nixlib-13dcb3523309c318e8dce59fae168ea39f98065c.tar.gz nixlib-13dcb3523309c318e8dce59fae168ea39f98065c.tar.bz2 nixlib-13dcb3523309c318e8dce59fae168ea39f98065c.tar.lz nixlib-13dcb3523309c318e8dce59fae168ea39f98065c.tar.xz nixlib-13dcb3523309c318e8dce59fae168ea39f98065c.tar.zst nixlib-13dcb3523309c318e8dce59fae168ea39f98065c.zip |
VM tests: Don't produce output on failure
Producing output makes it hard to restart builds that failed for intermittent reasons (like timeouts). So let's not do that.
Diffstat (limited to 'nixos/lib/testing.nix')
-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 ''; # */ }; |