php1ic / inch

The Interactive Nuclear CHart
GNU General Public License v3.0
3 stars 2 forks source link

Data file path is resolved differently in a build directory within the project #22

Open php1ic opened 4 years ago

php1ic commented 4 years ago

Assuming the project is checkout out to - /some/path/inch/

A parallel build directory at /some/path/build/ will resolve the data path correctly and use the absolute path. A build directory within the project at /some/path/inch/build will not resolve correctly and tests will fail (see #21).

Need to investigate why, the macro __FILE__ seems to behave differently depending on build directory location.