Re: code between #if #endif seems not be parsed

David Engster <[email protected]>
Newsgroups gmane.emacs.cedet
Message-ID <[email protected]>
Eric M. Ludlam writes:
> Are the CEDET unit tests able to run in the Emacs core?

Not sure what you mean by that. You mean if our test suite runs with the
CEDET that's part of Emacs? Yes, when you remove all the tests that
depend on stuff which is not in Emacs core.

Yidong did check in part of our test suite when he did the initial
merge. It's in test/cedet. I never updated it, though, because the merge
stuff was difficult enough already.

I did port the EIEIO test suite to use the ERT package, which is the
'official' way to do automatic tests in Emacs nowadays.

>Is there a pattern of test-running for Emacs after changes?

Yes, 'make check' will run the tests in 'test/automated', which is also
where my ported EIEIO tests are living. I did port the EIEIO tests
one-by-one to ERT, which was amazingly tedious, but you don't have to do
that. We could wrap most of the test suite in a few ERT tests so that it
gets run by calling 'make check'.

The tests are also run on a continuous integration system called
Hydra. Not sure if after each commit, but at least regularly. I'm not
sure we can run stuff which depends on external tools, though.

-David

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
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.