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
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/^$/' |\
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
[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
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
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.