When compiling directly on arm (e.g. Raspberry Pi), it appears to run tests using the .so from the repo instead of the one that's built. I can't get it to pass a test unless I hand-place the .so file in place.
Edit: Correction, when building directly on a Pi this occurs, not cross-compiling. That was a typo.