* Doh! Exceptions outside of subtests were silently ignored.

svn path=/nixos/trunk/; revision=25981
This commit is contained in:
Eelco Dolstra 2011-02-15 15:04:17 +00:00
parent 433679537b
commit 49213aa80a

View file

@ -47,7 +47,7 @@ rec {
''
mkdir -p $out/nix-support
LOGFILE=$out/log.xml tests="testScript" ${driver}/bin/nixos-test-driver || failed=1
LOGFILE=$out/log.xml tests='eval $ENV{testScript}; die $@ if $@;' ${driver}/bin/nixos-test-driver || failed=1
# Generate a pretty-printed log.
xsltproc --output $out/log.html ${./test-driver/log2html.xsl} $out/log.xml