Re: make test revisited

1999-04-09 Thread Richard Levitte - VMS Whacker
3moeller What's the cleanest way to solve this? Exile the command 3moeller list Run something like the following during compilation of the test directory: $(CC) $(CFLAGS) -E testenc_methods.c | sed -e 'd/^$/' |\ sed -e 's/_/-/g' testenc_methods Replace the appropriate for

Re: make test revisited

1999-04-09 Thread Bodo Moeller
On Fri, Apr 09, 1999 at 11:45:47AM +0200, Richard Levitte - VMS Whacker wrote: What's the cleanest way to solve this? Exile the command list Run something like the following during compilation of the test directory: $(CC) $(CFLAGS) -E testenc_methods.c | sed -e 'd/^$/' |\

Re: make test revisited

1999-04-09 Thread Richard Levitte - VMS Whacker
3moeller [1] Does the filename really have to end in ".c"? I'd prefer ".in" 3moellerif it cannot cause any problems with other compilers. Is there 3moellera portable option that allows to use a different suffix? 3moellerSun's cc version 4.2 accepts anything, but gcc

Re: make test revisited

1999-04-09 Thread Dr Stephen Henson
[EMAIL PROTECTED] wrote: That seems very complicated. How about doing this in the Makefile test: cipherlist cipherlist: cipherlist.c ..usual CC rules. And cipherlist is main() { #ifndef NO_DES printf("des_cfb\ndes_ede_cfb\ndes_ede3_cfb\n...") and so

Re: make test revisited

1999-04-09 Thread Ben Laurie
Dr Stephen Henson wrote: [EMAIL PROTECTED] wrote: That seems very complicated. How about doing this in the Makefile test: cipherlist cipherlist: cipherlist.c ..usual CC rules. And cipherlist is main() { #ifndef NO_DES

Re: make test revisited

1999-04-09 Thread Bodo Moeller
On Fri, Apr 09, 1999 at 07:29:51PM +0100, Ben Laurie wrote: Isn't the simplest thing to just #ifdef the test code itself, so the test programs are always there, just don't do anything if there's nothing to test? There are two kinds of tests: First, there are ideatest.c and similar programs.