[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange tests failure on Travis-CI due to AM_TESTS_ENVIRONMENT
From: |
Reuben Thomas |
Subject: |
Re: Strange tests failure on Travis-CI due to AM_TESTS_ENVIRONMENT |
Date: |
Thu, 13 Mar 2014 19:11:54 +0000 |
On 13 March 2014 17:38, Jim Meyering <address@hidden> wrote:
> On Thu, Mar 13, 2014 at 10:33 AM, Sami Kerola <address@hidden> wrote:
> > Long answer: unless someone objects I'll push the following to upstream.
> >
> > --->8----
> > From: Sami Kerola <address@hidden>
> > Date: Thu, 13 Mar 2014 17:18:36 +0000
> > Subject: [PATCH] build: parallel-tests require of TESTS_ENVIRONMENT
> >
> > * Makefile.am: Tests failed in Travis-CI's servers because missing
> > environment variables. Looking the automake documentation the
> > AM_TESTS_ENVIRONMENT cannot be used in combination with parallel-tests,
> > and such cases TESTS_ENVIRONMENT should be used instead.
>
The fix is correct, but the reasoning is not: AM_TESTS_ENVIRONMENT *can*
and *should* be used with parallel-tests, but only in automake > 1.11.
It is serial-tests that *requires* TESTS_ENVIRONMENT even in later automake.
--
http://rrt.sc3d.org