Re: File extension of test cases

Felix Salfelder <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Sun, Jul 28, 2013 at 07:40:17PM +0530, Rishabh Yadav wrote:
> The test cases files located in tests/ directory of gnucap-uf-0.0.0-rc4
> have extension like .gc and .ref.What do they mean?

Hi Rishabh.

in gnucap-uf, there are various sorts of tests. all of them should be
executed by "make check". most of them are of the kind 'compare
something gnucap produces with a reference'. here i chose '.gc' as
extension for gnucap scripts, and '.ref' as extension for the reference
files.

(actually, it doesnt matter much how the checks are implemented or how
extensions eventually look like. its more important to me that 'make
check' fails if something is wrong.)

it would probably be clever to not mess with the check target like i
did, but have autotools take care of everything [1]. i'd be happy to
know how this could be worked out...

regards
felix

[1] www.gnu.org/software/automake/manual/html_node/Tests.html
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.