1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Remove log2html.xsl and friends

It's part of Hydra now.
This commit is contained in:
Eelco Dolstra 2014-08-13 19:01:14 +02:00
parent e9b609bf9a
commit cb921f67c3
6 changed files with 0 additions and 170 deletions

View file

@ -23,7 +23,6 @@ export PATH=@bindir@:$PATH
export NIX_BUILD_HOOK=
export dot=@dot@
export xmllint="@xmllint@"
export xsltproc="@xsltproc@"
export SHELL="@bash@"
export version=@PACKAGE_VERSION@

View file

@ -14,15 +14,6 @@ if test "$xmllint" != "false"; then
$xmllint --noout $TEST_ROOT/log.xml || fail "malformed XML"
fi
# Convert to HTML.
if test "$xsltproc" != "false"; then
(cd $datadir/nix/log2html && $xsltproc mark-errors.xsl - | $xsltproc log2html.xsl -) < $TEST_ROOT/log.xml > $TEST_ROOT/log.html
# Ideally we would check that the generated HTML is valid...
# A few checks...
grep "<code>.*FOO" $TEST_ROOT/log.html || fail "bad HTML output"
fi
# Test nix-store -l.
[ "$(nix-store -l $path)" = FOO ]