Achim Gratz <strom...@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