run the elisp test with a larger stack limit
authorAndy Wingo <wingo@pobox.com>
Thu, 16 Oct 2008 11:58:59 +0000 (13:58 +0200)
committerAndy Wingo <wingo@pobox.com>
Thu, 16 Oct 2008 11:58:59 +0000 (13:58 +0200)
* test-suite/tests/elisp.test: Enlarge the stack for the duration of the
  elisp test. It's a hack, but it at least allows the test to run with a
  compiled ice-9.

test-suite/tests/elisp.test

index 067f7b1..28ec054 100644 (file)
   :use-module (test-suite lib)
   :use-module (ice-9 weak-vector))
 
+(define *old-stack-level* (and=> (memq 'stack (debug-options)) cadr))
+(if *old-stack-level*
+    (debug-set! stack (* 2 *old-stack-level*)))
+
 ;;;
 ;;; elisp
 ;;;
 
       ))
 
+(debug-set! stack *old-stack-level*)
+
 ;;; elisp.test ends here