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

* Fix the tests wrt the AST changes, i.e., Str(s) -> Str(s, []), and

the semantic changes.
This commit is contained in:
Eelco Dolstra 2006-10-17 11:08:59 +00:00
parent be1961c9f8
commit 9e30694f98
19 changed files with 22 additions and 22 deletions

View file

@ -43,8 +43,7 @@ for i in lang/eval-okay-*.nix; do
if ! $nixinstantiate --eval-only lang/$i.nix > lang/$i.out; then
echo "FAIL: $i should evaluate"
fail=1
fi
if ! $aterm_bin/atdiff lang/$i.out lang/$i.exp; then
elif ! $aterm_bin/atdiff lang/$i.out lang/$i.exp; then
echo "FAIL: evaluation result of $i not as expected"
fail=1
fi
@ -54,8 +53,7 @@ for i in lang/eval-okay-*.nix; do
if ! $nixinstantiate --eval-only --xml --strict lang/$i.nix > lang/$i.out.xml; then
echo "FAIL: $i should evaluate"
fail=1
fi
if ! cmp -s lang/$i.out.xml lang/$i.exp.xml; then
elif ! cmp -s lang/$i.out.xml lang/$i.exp.xml; then
echo "FAIL: XML evaluation result of $i not as expected"
fail=1
fi