On Mar 25, 2014, at 7:31 AM, Yury Gribov <y.gri...@samsung.com> wrote: > On 03/24/2014 01:46 PM, Maxim Ostapenko wrote: >> >> On 03/24/2014 12:28 PM, Maxim Ostapenko wrote: >>> >>> When porting Lsan on arm, I ran into problem with testing, because >>> almost all lsan tests require environment variables forwarding for >>> remote targets. Unfortunately, this feature isn't implemented yet >>> neither in Dejagnu nor in GCC. These two small patches seem to resolve >>> this issue.
So, I’m interested in what Jakub might say… but, seems reasonable to enhance it so that this is possible. Unless others have some friendly suggestions… Ok for stage1. >>> Do these changes make sense? If not - what's the proper way to forward >>> env vars on remote targets? I have a remote target that is done via the binutils sim style simulator. For it, I can just set environment variables directly. I’ve wired up getenv to look at the environment of the simulator. I suspect the way you wired things, it would just work for me, for example.