> On Tue, Jul 09, 2013 at 05:38:44PM +0100, Michael Tautschnig wrote:
> > Hi Kurt,
> > 
> > Thanks a lot for elaborating.
> > 
> > [...]
> > > It's set to a shell script that set up environment variables like
> > > LD_LIBRARY_PATH.
> > > 
> > 
> > I think this should indeed be ok, *assuming that you are sourcing that 
> > script?*
> > (And put a semicolon at the end of TESTS_ENVIRONMENT.)
> 
> It's doing:
> TESTS_ENVIRONMENT = LC_ALL=C LANG=C $(srcdir)/test-wrapper.sh \
>                     ../libdw:../backends:../libelf:../libasm
> 
> I've tried various thing, and it still gives me the same problems
> indicating that test-wrapper.sh was not run.  There are some variable
> that aren't set that the script that get run depend on.
> 

But then you aren't sourcing that script?! I think you should be using

TESTS_ENVIRONMENT = LC_ALL=C; LANG=C; . $(srcdir)/test-wrapper.sh \
                    ../libdw:../backends:../libelf:../libasm

> Note that the documentation talks about the semicolon is case of
> AM_TESTS_ENVIRONMENT, not TESTS_ENVIRONMENT
> 

Ah, yes, because they are simply concatenated.

Best,
Michael

Attachment: pgp5t9cNoGlJ9.pgp
Description: PGP signature

Reply via email to