On 05/06/2016 01:38 AM, Dhole wrote:
On 16-04-29 09:17:44, Jakub Jelinek wrote:
Bernd: I'll see if I can prepare a testcase; first I need to get
familiar with the testing framework and learn how to set environment
variables in tests. Any tips on that will be really welcome!
grep for dg-set-target-env-var in various tests.
I've been looking at how the test infrastructure works, and I'm having
some difficulties with setting the env var.
I've wrote a test case which fails (when it shouldn't) and I don't see
why.
I think it's setting the env var when executing the test, not when
executing the compiler.
Bernd