automake
[Top][All Lists]
Advanced

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

Re: The New parallel-tests Framework (was: Various testsuites)


From: Ralf Wildenhues
Subject: Re: The New parallel-tests Framework (was: Various testsuites)
Date: Fri, 22 May 2009 08:24:05 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Bob,

* Bob Friesenhahn wrote on Fri, May 22, 2009 at 12:54:02AM CEST:
> On Thu, 21 May 2009, Ralf Wildenhues wrote:
>
>> 6. Dependencies between Tests
>> =============================
>>
>> If there are dependencies between your tests, e.g., foo.test needs to be
>> run before baz.chk can be run, then, with TEST_EXTENSIONS set as above,
>> you can now go ahead and specify them as dependency relations between
>> the corresponding log files:
>>
>>  baz.log: foo.log
>
> This is not working for me.  It seems like there is a missing dependency 
> or logical race-condition somewhere.  I added this to try to force the 
> utilities/tests/montage.sh tests to run after a set of other tests:
>
> utilities/tests/montage.sh.log : \
>       utilities/tests/addnoise.sh.log \
>       utilities/tests/affine.sh.log \
>       utilities/tests/annotate.sh.log \
>       ...

You probably need to do this instead:
  TEST_EXTENSIONS = .sh
  utilities/tests/montage.log : \
        utilities/tests/addnoise.log \
        utilities/tests/affine.log \
        utilities/tests/annotate.log \
        ...

as test dependencies currently only work with extensions that have been
registered.

Cheers,
Ralf




reply via email to

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