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
Fixed in https://github.com/openmicroscopy/bioformats/pull/826