Skip to content

Fix issue on reduced OTB-data

Stéphane Albert requested to merge 1834-test-data-switch into 1834-test-data-lfs

Summary

This MR is related to #1834 (closed).

After having imported test-data into the OTB repository under git lfs, this MR:

  1. makes OTB switch to the $/otb/Data/ directory (instead of the $/otb-data repository); and
  2. fixes broken tests due, mainly to the renaming of .hdr and .hd files into .raw.hdr and .raw.hd (see !387 (merged)).

Rationale

This MR is a second step in migrating the otb-data repository into the otb one under git lfs. This is needed in order to fix broken tests.

Implementation Details

Updated CMake build configuration: if the OTB_DATA_ROOT environment variable is undefined, it is initialized, by default, to $/otb/Data. So, the user can still benefit from the flexibility to link to another data repository (this is especially usefull in order to manage the dashboard nightly builds of develop, release, feature-branches builds and testing.

Fixed renamed filenames in CMake test configuration.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
Edited by Antoine Regimbeau

Merge request reports

Loading