Skip to content

Commit

Permalink
VM tests: Don't produce output on failure
Browse files Browse the repository at this point in the history
Producing output makes it hard to restart builds that failed for
intermittent reasons (like timeouts). So let's not do that.
  • Loading branch information
edolstra committed Apr 10, 2015
1 parent 79fca7c commit 13dcb35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nixos/lib/testing.nix
Expand Up @@ -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
Expand All @@ -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
''; # */
};

Expand Down

1 comment on commit 13dcb35

@domenkozar
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍻

Please sign in to comment.