Skip to content

Additional test fail in subproject independent build

The dashboard shows that a lot of test currently fails.

The CI nightly and continuous scripts build and run test subproject by subproject. Additional test are added by any component to any action. Therefore if a component subproject is compiled after the action subproject, the action test is necessarily going to fail (as the component data will not be opened).

E.g.

  • action cropvolume is part of the SDK CEP
  • component itkimage is part of the imaging CEP
  • component itkimage declares additional test for action cropvolume
  • during CI script, subproject cropvolume is build and tested before subproject itkimage
  • all additional test using an itk image fails

At the time of writing, I see only two possible fixes:

  • either set a dependency between the additional test and the component subproject
  • or find a way to declare test as part of the component subproject, not the action
Edited by Emmanuel Promayon