Hi,

Neil Jerram <[EMAIL PROTECTED]> writes:

> I believe the patch below is the correct fix for this.  Please test
> and/or comment!

Works like a charm!

> +2007-10-19  Neil Jerram  <[EMAIL PROTECTED]>
> +
> +     * standalone/test-use-srfi: Use -q to avoid picking up the user's
> +     ~/.guile file.

Thanks for taking care of this one too!

(I had forgotten about it, which may be an indication that we should
really start using the bug tracker.)

> +    ;; Tests that require the debugging evaluator...
> +    (let ((dopts (debug-options)))
> +      (debug-enable 'debug)
> +
> +      (pass-if "unmemoizing a promise"
> +        (display-backtrace

Could we hide the backtrace, because it's always a bit scary to see a
backtrace in the middle of the "PASS" lines?  Something like:

  (with-output-to-port (%make-void-port "w")
    (lambda ()
      ...
      (display-backtrace)

Alternatively, could `unmemoize-expr' somehow be used for the test?

Perhaps the `debug-enable' and `debug-disable' could be in a
`dynamic-wind', but that's not big deal.

Thanks,
Ludovic.


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to