[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: example of DEJATOOL being a list of names

From: Jonah Graham
Subject: Re: example of DEJATOOL being a list of names
Date: Wed, 2 Apr 2003 01:16:40 +0100

Sorry, I should have been more clear about my question. You are correct the
generated site.exp has illegal TCL in it. I believe I am following the
instructions in the automake manual properly for setting DEJATOOL to a list
of names. But of course something else must be missing from either my
settings in or automake itself (or my

For reference, this is my entire

bin_PROGRAMS = proga progb
proga_SOURCES = proga_main.c common.c
progb_SOURCES = progb_main.c common.c

DEJATOOL = proga progb

RUNTESTDEFAULTFLAGS = --tool $$tool  --srcdir $$srcdir/testsuite

And my
dnl Process this file with autoconf to produce a configure script.
AC_INIT(myproject, 1.0)
AM_INIT_AUTOMAKE(myproject, 1.0)

BTW. The reference in the manual I am referring to is:

Thanks for any help or pointers you can give and sorry if I am barking up
the wrong tree, I am still a newbie :-)


Richard Dawe wrote:

> Hello.
> Jonah Graham wrote:
> > Does anyone have an example of how to get DEJATOOL to be a list of
> > In particular I am trying to do what is discussed in this message:
> >
> >
> > When I try setting DEJATOOL to multiple names, the resulting Makefile
> > correct (it loops over the list) but a site.exp is still generated from
> > this line in
> >         @echo 'set tool $(DEJATOOL)' >>site.tmp
> > with this in the site.exp file
> >         set tool proga progb
> >
> >
> > When I try make check I get "WARNING: could not find `runtest'". If I
> > just running runtest --version I get this:
> >
> > ERROR: tcl error sourcing /cygdrive/q/experiments/build/site.exp.
> > wrong # args: should be "set varName ?newValue?"
> >     while compiling
> > "set tool proga progb"
> [snip]
> That's not valid TCL, because set only takes two arguments. The following
> valid:
>     set tool "proga progb"
>     set tool [list proga progb]
> Try hacking site.exp to one of those, just to check that it works. I have
> idea about DejaGNU, so it might not.
> Regards,
> --
> Richard Dawe [ ]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]