OK, it looks like selecting the X11 lib is the problem, not probing it...
$ LD_PRELOAD=libumockdev-preload.so.0 bin/mir_integration_tests --gtest_filter=MesaBufferIntegration.* --platform-graphics-lib lib/server-modules/server-mesa-x11.so.5 MIR_CLIENT_PLATFORM_PATH=bin/../lib/client-modules/ MIR_SERVER_PLATFORM_PATH=bin/../lib/server-modules/ LD_LIBRARY_PATH=bin/../lib exec=bin/mir_integration_tests.bin Running main() from main.cpp Note: Google Test filter = MesaBufferIntegration.* [==========] Running 3 tests from 1 test case. [----------] Global test environment set-up. [----------] 3 tests from MesaBufferIntegration [ RUN ] MesaBufferIntegration.buffer_creation_from_arbitrary_thread_works Segmentation fault (core dumped)
OK, it looks like selecting the X11 lib is the problem, not probing it...
$ LD_PRELOAD= libumockdev- preload. so.0 bin/mir_ integration_ tests --gtest_ filter= MesaBufferInteg ration. * --platform- graphics- lib lib/server- modules/ server- mesa-x11. so.5 PLATFORM_ PATH=bin/ ../lib/ client- modules/ PLATFORM_ PATH=bin/ ../lib/ server- modules/ PATH=bin/ ../lib mir_integration _tests. bin ration. * ration ration. buffer_ creation_ from_arbitrary_ thread_ works
MIR_CLIENT_
MIR_SERVER_
LD_LIBRARY_
exec=bin/
Running main() from main.cpp
Note: Google Test filter = MesaBufferInteg
[==========] Running 3 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 3 tests from MesaBufferInteg
[ RUN ] MesaBufferInteg
Segmentation fault (core dumped)