$ LD_PRELOAD=libumockdev-preload.so.0 bin/mir_integration_tests --gtest_filter=MesaBufferIntegration.* --platform-graphics-lib lib/server-modules/graphics-mesa-kms.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
[ OK ] MesaBufferIntegration.buffer_creation_from_arbitrary_thread_works (2 ms)
[ RUN ] MesaBufferIntegration.buffer_destruction_from_arbitrary_thread_works
[ OK ] MesaBufferIntegration.buffer_destruction_from_arbitrary_thread_works (0 ms)
[ RUN ] MesaBufferIntegration.buffer_lazy_texture_instantiation_from_arbitrary_thread_fails
[ OK ] MesaBufferIntegration.buffer_lazy_texture_instantiation_from_arbitrary_thread_fails (1 ms)
[----------] 3 tests from MesaBufferIntegration (3 ms total)
[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (4 ms total)
[ PASSED ] 3 tests.
For completeness:
$ LD_PRELOAD= libumockdev- preload. so.0 bin/mir_ integration_ tests --gtest_ filter= MesaBufferInteg ration. * --platform- graphics- lib lib/server- modules/ graphics- mesa-kms. 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 ration. buffer_ creation_ from_arbitrary_ thread_ works (2 ms) ration. buffer_ destruction_ from_arbitrary_ thread_ works ration. buffer_ destruction_ from_arbitrary_ thread_ works (0 ms) ration. buffer_ lazy_texture_ instantiation_ from_arbitrary_ thread_ fails ration. buffer_ lazy_texture_ instantiation_ from_arbitrary_ thread_ fails (1 ms) ration (3 ms total)
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
[ OK ] MesaBufferInteg
[ RUN ] MesaBufferInteg
[ OK ] MesaBufferInteg
[ RUN ] MesaBufferInteg
[ OK ] MesaBufferInteg
[----------] 3 tests from MesaBufferInteg
[----------] Global test environment tear-down
[==========] 3 tests from 1 test case ran. (4 ms total)
[ PASSED ] 3 tests.