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.
This commit is contained in:
parent
79fca7c3e4
commit
13dcb35233
|
@ -47,7 +47,7 @@ rec {
|
||||||
''
|
''
|
||||||
mkdir -p $out/nix-support
|
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.
|
# Generate a pretty-printed log.
|
||||||
xsltproc --output $out/log.html ${./test-driver/log2html.xsl} $out/log.xml
|
xsltproc --output $out/log.html ${./test-driver/log2html.xsl} $out/log.xml
|
||||||
|
@ -63,8 +63,6 @@ rec {
|
||||||
mkdir -p $out/coverage-data
|
mkdir -p $out/coverage-data
|
||||||
mv $i $out/coverage-data/$(dirname $(dirname $i))
|
mv $i $out/coverage-data/$(dirname $(dirname $i))
|
||||||
done
|
done
|
||||||
|
|
||||||
[ -z "$failed" ] || touch $out/nix-support/failed
|
|
||||||
''; # */
|
''; # */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue