mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 02:00:26 +02:00
* lib.scm (exception:missing-expression): New.
* tests/dynamic-scope.test, tests/eval.test, tests/r5rs_pitfall.test, tests/srfi-17.test, tests/syncase.test: Wrap tests in module (test-suite test-<file-name without .test>), following a practice that was used on a couple of files already. * tests/dynamic-scope.test (exception:duplicate-binding, exception:bad-binding): New. * tests/dynamic-scope.test, tests/srfi-17.test, tests/syntax.test: Execute syntactically wrong tests using eval. With the upcoming new memoizer this is necessary in order to postpone the syntax check to the actual evaluation of the syntactically wrong form. * tests/syntax.test: Added some test cases and modified one test case.
This commit is contained in:
parent
da0e6c2baf
commit
d6e04e7c4a
8 changed files with 218 additions and 97 deletions
|
@ -5,9 +5,9 @@
|
|||
;; http://sisc.sourceforge.net/r5rs_pitfal.scm and the 'should-be'
|
||||
;; macro has been modified to fit into our test suite machinery.
|
||||
;;
|
||||
;; Tests 1.1 and 2.1 fail, but we expect that.
|
||||
;; Test 1.1 fails, but we expect that.
|
||||
|
||||
(define-module (r5rs-pitfall-test)
|
||||
(define-module (test-suite test-r5rs-pitfall)
|
||||
:use-syntax (ice-9 syncase)
|
||||
:use-module (test-suite lib))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue