[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Test-suite update

From: Ludovic Courtès
Subject: Re: [PATCH] Test-suite update
Date: Fri, 23 Sep 2005 11:54:31 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)


Neil Jerram <address@hidden> writes:

> Actually I'm not sure I understand.  Do you see the stack overflow
> only after applying your patch, or did it occur before the patch also
> on your system?  I don't see a problem on Intel using current CVS.

When running `elisp.test' untouched.  Here's what I get:

  $ guile -L .. -l tests/elisp.test
  PASS: scheme: value preservation: cdr
  PASS: scheme: value preservation: vector-ref
  ERROR: Stack overflow

Adding `format' expressions shows that this seems to occur when evaluating:

  (if (defined? '%nil)
      (use-modules (lang elisp interface)))

However, it works when run like this:

  $ guile -L ..
  guile> (load "tests/elisp.test")
  PASS: scheme: nil value is a boolean: boolean?
  PASS: elisp: (defvar x 4)
  PASS: elisp: x

So I tried the following:

  $ guile -L ..  -c '(begin (set! %load-hook (lambda (f) (format #t "loading 
~a...~%" f))) (load "tests/elisp.test"))'
  loading tests/elisp.test...
  PASS: scheme: value preservation: vector-ref
  loading ../lang/elisp/interface.scm...
  PASS: elisp: (defvar x 4)
  PASS: elisp: x

And here everything works fine.

Any idea of the difference between `-l' and `load'?  Looking at
`script.c', that seems equivalent.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]