diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-21T16·22+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-04-21T16·22+0000 |
commit | 7148df797174ff742fdd8cee3c2d92e6340ee930 (patch) | |
tree | 4763cb338f8267c2e0be3200bd6a7c4df4af22d3 /tests/lang.sh | |
parent | 6f0f16497a8ce671c2aa9ff3cd9a27eb1f931cf2 (diff) |
* Update the expected test output (no longer an ATerm).
Diffstat (limited to 'tests/lang.sh')
-rw-r--r-- | tests/lang.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/lang.sh b/tests/lang.sh index ab61b7b9dc93..eec33734c155 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 |