Re: state of BIDI within stable GNU emacs (UTF8) nikud

Gregg Reynolds <[email protected]>
Newsgroups gmane.emacs.bidi
Message-ID <[email protected]>
Eli Zaretskii wrote:
>>Date: Mon, 28 Nov 2005 20:10:32 -0600
>>From: Gregg Reynolds <[email protected]>
>>Cc: [email protected]
>>
>>However, compiling on FreeBSD 6.00, I end up with stuff like the 
>>following.  I just now did this, so I haven't really investigated as I 
>>should, so I post this just in case somebody already knows what my 
>>problem is.
> 
> 
> It's hard to say, since you didn't show the commands you used to build
> Emacs; please always do that when you report problems.
> 
Sorry 'bout that.  I ran "make bootstrap" after cvs'ing the emacs-bidi 
branch.

Turns out that function "bidi_dump_cached_states" in bidi.c prints to 
stderr, but stdio is only included #ifdef TEST_STANDALONE.  Since the 
function doesn't seem to be used, I just #if 0'ed it out and "make 
bootstrap" succeeded.

Regarding TEST_STANDALONE, I don't see any make targets or anything 
obvious for doing that.  Do you have any tools/test stuff remaining for 
this?

What would you think about moving your TEST_STANDALONE code out of 
bidi.c and in to a separate driver program?  Also, would it make sense 
to use a logging framework like Log4c (http://log4c.sourceforge.net/) 
instead of simulate_display?

I'm also looking at unit test framework that I think might be useful: 
CUnit (http://cunit.sourceforge.net/index.html), which is a GPL'ed 
JUnit-like framework for C.

thx,

gregg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.