occam-ra / occam

OCCAM Reconstructability Analysis Tools
Other
20 stars 14 forks source link

Feature/tests #68

Closed bowertree closed 2 months ago

bowertree commented 2 months ago

Add google test infrastructure, new tests target in makefile, and example working test for ocReadLine. This will be expanded beginning with high-level tests for output similarity. Right now what's running in production on dmit sometimes outputs different results from this build target. It is unclear what the differences are at the moment, or which one is more correct.

The build process for googletest is a bit raw because cmake seems to no longer be available for 16.04. To avoid adding a new dependency that is questionably supported on 16.04 compilation is performed directly in our makefile. In the future this should be changed to use cmake so we don't replicate effort.