dejagnu
[Top][All Lists]
Advanced

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

Setting environment variables when running tests?


From: Brooks Moses
Subject: Setting environment variables when running tests?
Date: Wed, 14 Aug 2013 11:56:36 -0700

Hi, all -

Is it possible to define a DejaGnu test such that a particular
environment variable will be set when the test is run?

The context is that I'd like to adjust where GCC's profiling tests
store their output, and to do that I need to run the test executable
with the GCOV_PREFIX environment variable set.  I'd like to do that in
a general way by editing the test definitions to specify "run this
test program with this environment variable set", rather than by
special-casing a hack in my board file.

Thanks,
- Brooks



reply via email to

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