about summary refs log tree commit diff
path: root/tests/lang.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-04-21T16·02+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-04-21T16·02+0000
commitcae4efdca3a207b97244aef96161ad2974ec4e50 (patch)
tree6ccacbe7e54d77d63551ec3fdb4614b0d7b7bd84 /tests/lang.sh
parent0777448ca68175b6daf3d8f5374cf43523828c47 (diff)
* Because --parse-only no longer produces an ATerm, don't check the
  output.  Whether it parses at all should be enough.

Diffstat (limited to 'tests/lang.sh')
-rw-r--r--tests/lang.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/lang.sh b/tests/lang.sh
index c0d436907317..ab61b7b9dc93 100644
--- a/tests/lang.sh
+++ b/tests/lang.sh
@@ -16,14 +16,10 @@ done
 for i in lang/parse-okay-*.nix; do
     echo "parsing $i (should succeed)";
     i=$(basename $i .nix)
-    if ! $nixinstantiate --parse-only - < lang/$i.nix > lang/$i.ast; then
+    if ! $nixinstantiate --parse-only - < lang/$i.nix > lang/$i.out; then
         echo "FAIL: $i should parse"
         fail=1
     fi
-    if ! $aterm_bin/atdiff lang/$i.ast lang/$i.exp; then
-        echo "FAIL: parse tree of $i not as expected"
-        fail=1
-    fi
 done
 
 for i in lang/eval-fail-*.nix; do