|
From: Cary R. <cy...@ya...> - 2008-03-05 17:21:36
|
--- Michael Witten <mfw...@MI...> wrote:
> Could you just have the perl script create a temporary file and use its
> absolute path?
The problem here is where would you create it so that you always had
permission? /tmp is an easy choice for UNIX machines, but Icarus is used
on more platforms than that. I'm uncertain if there is a place that is
universally available.
> Could you just construct the path from the current working directory and
> the qualified name used to run vvp_reg.pl?
This may be the best choice. I don't think we should build the code on the
fly since that requires too much coupling to the driver program, but the
driver program could provide the working directory to a script as needed.
There are a couple of different paths we could take on this. The script
could create a file with the current path as a define that any test could
use. Or we could make a macro that the the script would use to pass the
value e.g.(-D@PATH@ in the *_regress.list). Either is probably acceptable.
There may be other information we may want to pass as well.
Steve, do you have a preference?
Cary
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
|