unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Jack Howarth <howarth.mailing.lists@gmail.com>
To: 24666@debbugs.gnu.org
Subject: bug#24666: converting srfi-18.test to standalone test case for debugging
Date: Thu, 20 Oct 2016 13:08:07 -0400	[thread overview]
Message-ID: <CADtEn-3kDTHLd=oRtBHNjPYEa-otxTpJyr9SpQQpeehah6Upug@mail.gmail.com> (raw)
In-Reply-To: <CADtEn-3gvTFvj2bN+jOPX9Lon5qfxJT8W4D9iRqDZr08QV3tCg@mail.gmail.com>

I finally puzzled out how to run the srfi-18.test failing test case as
a stand alone one with...

cd /opt/local/var/macports/build/_Users_howarth_ports_lang_guile/guile/work/guile-2.0.13/test-suite
setenv GUILE_LOAD_PATH
/opt/local/var/macports/build/_Users_howarth_ports_lang_guile/guile/work/guile-2.0.13/test-suite
setenv TEST_SUITE_DIR
/opt/local/var/macports/build/_Users_howarth_ports_lang_guile/guile/work/guile-2.0.13/test-suite/tests
/opt/local/bin/guile  -e main -s guile-test srfi-18.test

Running srfi-18.test
FAIL: srfi-18.test: thread-terminate!: termination destroys non-started thread
FAIL: srfi-18.test: thread-terminate!: termination destroys started thread

Totals for this test run:
passes:                 59
failures:               2
unexpected passes:      0
expected failures:      0
unresolved test cases:  0
untested test cases:    0
unsupported test cases: 0
errors:                 0

While the comments in guile-test mentioned the requirement for setting
TEST_SUITE_DIR, it is missing any discussion of the need to set
GUILE_LOAD_PATH as well. That should be added.

On Tue, Oct 11, 2016 at 8:55 AM, Jack Howarth
<howarth.mailing.lists@gmail.com> wrote:
>     Does anyone know how to convert the srfi-18.test test case into a
> standalone one that can be debugged in lldb or gdb? On darwin15, I
> have confirmed that the thread-local-storage support is causing the
> failures of...
>
>  FAIL: srfi-18.test: thread-terminate!: termination destroys non-started thread
>  FAIL: srfi-18.test: thread-terminate!: termination destroys started thread
>
> and that passing configure 'ac_cv_have_thread_storage_class=no' to
> configure when building guile 2.0.12 suppresses these failures.
>    I've opened a radar bug report with Apple, radar:// 2868809 "guile
> 2.0.12 exposes potential thread-local-storage bug on Mac OS X", but
> still need to add a stand-alone test case derived from srfi-18.test
> that can be debugged in lldb.
>             Jack





  reply	other threads:[~2016-10-20 17:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-11 12:55 bug#24666: converting srfi-18.test to standalone test case for debugging Jack Howarth
2016-10-20 17:08 ` Jack Howarth [this message]
2017-03-01  9:42   ` Andy Wingo

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='CADtEn-3kDTHLd=oRtBHNjPYEa-otxTpJyr9SpQQpeehah6Upug@mail.gmail.com' \
    --to=howarth.mailing.lists@gmail.com \
    --cc=24666@debbugs.gnu.org \
    /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).