Although adding
--emulator /usr/bin/qemu-arm -b CMake --linker-flags="-static"
To the test command works locally, the CMake tests fail on CircleCI. May this
is due to a kernel difference? Will investigate adding again later after
CircleCI updates in kernel (it is currently Ubuntu 12.04).
The "-static" linker flag used during testing is explained here:
https://www.kitware.com/blog/home/post/893
Run ctest if an emulator is available and make sure it uses it.
Add more status information to the test output and make sure that the order is
correct with flush() calls.