42ity / fty-sensor-gpio

Agent to manage GPIO sensors and devices
Other
0 stars 9 forks source link

Fix tests (partially) #2

Closed jimklimov closed 7 years ago

jimklimov commented 7 years ago

This follows up on code from PR #1 to welcome the component into the project ;) and delves more into nuances of self-testing. Failures seem to be due to attempts of the self-test program to write into system locations and/or access expected things under src directory which are not always there in e.g. out-of-tree builds.

This PRed codebase took some steps trying to rectify the problem and/or make it more debuggable, but did not fully fix it yet.

@aquette : Feel free to merge and pick it up from here, or wait until I have time to look and stumble upon a solution :)