~raof/mir/proper-driver-loading

« back to all changes in this revision

Viewing changes to tests/acceptance-tests/test_symbols_required_by_mesa.cpp

  • Committer: Christopher James Halse Rogers
  • Date: 2014-11-27 04:57:28 UTC
  • Revision ID: christopher.halse.rogers@canonical.com-20141127045728-rtlr58ckdkhnbocy
Implement server-side graphics platform probe

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
TEST(SymbolsRequiredByMesa, are_exported_by_libmirplatformgraphics)
41
41
{
42
 
    auto const handle = dlopen(MIR_PLATFORM_DRIVER_BINARY, RTLD_LAZY);
 
42
    auto const handle = dlopen((mtf::library_path() + "/server-modules/graphics-mesa.so").c_str(), RTLD_LAZY);
43
43
    ASSERT_THAT(handle, NotNull());
44
44
 
45
45
    auto const sym = dlsym(handle, "mir_server_mesa_egl_native_display_is_valid");