unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Matt Wette <matthew.wette@verizon.net>
Cc: guile-user@gnu.org
Subject: Re: help needed with (test-suite lib)
Date: Sun, 13 Mar 2016 13:53:54 +0300	[thread overview]
Message-ID: <874mcay7gd.fsf@gmail.com> (raw)
In-Reply-To: <05F759BF-B6CA-444B-9757-BE8205D177DF@verizon.net> (Matt Wette's message of "Wed, 9 Mar 2016 18:08:00 -0800")

Matt Wette (2016-03-10 05:08 +0300) wrote:

> I am using test-suite/lib.scm from guile-2.0.11.
>
>
> Can anyone explain why I am getting “UNRESOLVED” below?  I am
> expecting “PASS”.   What am I missing?

It shouldn't be a lambda (see below).

> mwette$ guile
>
> GNU Guile 2.0.11
>
> Copyright (C) 1995-2014 Free Software Foundation, Inc.
>
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
>
> This program is free software, and you are welcome to redistribute it
>
> under certain conditions; type `,show c' for details.
>
>
> Enter `,help' for help.
>
> scheme@(guile-user)> (use-modules (test-suite lib))
>
> scheme@(guile-user)> (pass-if "demo" (lambda () #t))
>
> UNRESOLVED: demo

Try (pass-if "demo" #t)

I know it because I found:

  (pass-if "simple addition" (= 4 (+ 2 2)))

in the commentary of ".../test-suite/lib.scm".

-- 
Alex



  reply	other threads:[~2016-03-13 10:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10  2:08 help needed with (test-suite lib) Matt Wette
2016-03-13 10:53 ` Alex Kost [this message]
2016-03-13 14:22   ` Matt Wette
2016-03-13 15:30     ` Jan Wedekind
2016-03-13 15:34       ` Matt Wette

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874mcay7gd.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=matthew.wette@verizon.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).