[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: Richard Dawe
Subject: Re: example of DEJATOOL being a list of names
Date: Tue, 01 Apr 2003 18:39:04 +0100


Jonah Graham wrote:
> Does anyone have an example of how to get DEJATOOL to be a list of names.
> In particular I am trying to do what is discussed in this message:
> When I try setting DEJATOOL to multiple names, the resulting Makefile looks
> 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 try
> 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"

That's not valid TCL, because set only takes two arguments. The following are

    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 no
idea about DejaGNU, so it might not.


Richard Dawe [ ]

reply via email to

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