1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 19:23:54 +02:00

* Update the expected test output (no longer an ATerm).

This commit is contained in:
Eelco Dolstra 2010-04-21 16:22:03 +00:00
parent 6f0f16497a
commit 7148df7971
35 changed files with 38 additions and 39 deletions

View file

@ -40,14 +40,13 @@ for i in lang/eval-okay-*.nix; do
if test -e lang/$i.flags; then
flags=$(cat lang/$i.flags)
fi
if ! $nixinstantiate $flags --eval-only lang/$i.nix > lang/$i.out; then
if ! $nixinstantiate $flags --eval-only --strict lang/$i.nix > lang/$i.out; then
echo "FAIL: $i should evaluate"
fail=1
elif ! diff lang/$i.out lang/$i.exp; then
echo "FAIL: evaluation result of $i not as expected"
fail=1
fi
#elif ! $aterm_bin/atdiff lang/$i.out lang/$i.exp; then
# echo "FAIL: evaluation result of $i not as expected"
# fail=1
#fi
fi
if test -e lang/$i.exp.xml; then