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