Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11828 (closed)

Opened 10 years ago

Closed 10 years ago

Bug: Header tests break with parallel builds in clean tree

Reported by: rleigh Owned by: rleigh
Priority: minor Milestone: 5.1.0
Component: Bio-Formats Version: 5.0.0-beta2-RC3
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The header tests search for headers in the appropriate component in order to determine what needs building for testing. However, this does not work well with the xsd-fu generated headers; they might not yet have been generated at the point where we do the scan. This occurs if "make clean" is run in the source tree prior to a parallel build, which deletes them all. The regular builds reconstruct them as needed since they have full dependency information and the rules to rebuild, but the headers_test macro does not.

Look into passing the appropriate header information to the headers_test macro. May be difficult, given that the tests are in a separate location. Maybe generate a suitable CMakeLists.txt on the fly from the dependency information, which can then be sourced appropriately elsewhere?

Change History (1)

comment:1 Changed 10 years ago by rleigh

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.64942 sec.)

We're Hiring!