dont ignore checker body if not evaluating submission

svn: r1029
This commit is contained in:
Eli Barzilay 2005-10-09 02:51:29 +00:00
parent af24612618
commit dff3e69814
2 changed files with 4 additions and 1 deletions

View File

@ -674,6 +674,9 @@ Keywords for configuring `check:':
below).
* :eval? -- whether submissions should be evaluated. Defaults to #t.
Note that if it is specified as #f, then the checker body will not
be able to run any tests on the code, unless it contains code that
performs some evaluation (eg, using the facilities of "utils.ss").
* :language -- the language that is used for evaluating submissions,
same as the `language' argument for `make-evaluator' (see above).

View File

@ -349,7 +349,7 @@
body*1 body* (... ...))])])
(let () body ...))
(when (thread-cell-ref added-lines) (write-text))))]
[(not eval?) #t]
[(not eval?) (let () body ...)]
[else (error* "no language configured for submissions")])
output-file)
;; ========================================