aboutsummaryrefslogtreecommitdiff
path: root/tests/lang.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-21 16:22:03 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-21 16:22:03 +0000
commit7148df797174ff742fdd8cee3c2d92e6340ee930 (patch)
tree4763cb338f8267c2e0be3200bd6a7c4df4af22d3 /tests/lang.sh
parent6f0f16497a8ce671c2aa9ff3cd9a27eb1f931cf2 (diff)
* Update the expected test output (no longer an ATerm).
Diffstat (limited to 'tests/lang.sh')
-rw-r--r--tests/lang.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/lang.sh b/tests/lang.sh
index ab61b7b9d..eec33734c 100644
--- a/tests/lang.sh
+++ b/tests/lang.sh
@@ -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