emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: test-ob-sh/session
Date: Fri, 03 Aug 2012 13:36:00 -0600	[thread overview]
Message-ID: <87zk6bu5sv.fsf@gmx.com> (raw)
In-Reply-To: <87vch1cdy4.fsf@Rainer.invalid> (Achim Gratz's message of "Thu, 02 Aug 2012 21:05:07 +0200")

Achim Gratz <Stromeko@nexgo.de> writes:

> I'm currently seeing a problem with this test (only on Win7, both
> NTEmacs and Cygwin).  The test just hangs and never finishes.  All my
> attempts to have it fail in the same way in an interactive sessions were
> fruitless.  However, it seems that the first time a session is
> initiated, it does not start at all.  The second time it then works as
> expected.  Why Emacs hangs when it gets there in batch mode I can't
> see...
>
> Incidentally, sh tests will run even when not explicitly configured,
> which seems odd since I can't find any code that loads ob-sh either
> directly or through autoloads and thus the guard code at the top of the
> test file should leave those tests undefined.
>

There are a number of tests which execute shell code blocks in
test-ob.el.  This file has no guards, so it will be run on every system.
I guess at the time I wrote these tests I assumed that every system
would support both emacs-lisp and sh code blocks.

At some point either

1. all tests in test-ob.el which run sh code blocks should be placed
   behind conditional guards so they are only loaded when shell support
   is present

2. all tests in test-ob.el which run sh code blocks should be switched
   to running emacs-lisp code blocks

Best,

-- 
Eric Schulte
http://cs.unm.edu/~eschulte

  reply	other threads:[~2012-08-03 19:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 19:05 test-ob-sh/session Achim Gratz
2012-08-03 19:36 ` Eric Schulte [this message]
2012-08-03 20:25   ` test-ob-sh/session Achim Gratz
2012-08-03 19:48 ` test-ob-sh/session Achim Gratz
2012-08-05 16:37 ` test-ob-sh/session Achim Gratz

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87zk6bu5sv.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=Stromeko@nexgo.de \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).