@@ -30,6 +30,10 @@ def with_lightdm_mock(mock_type):
30 "qml/mocks/LightDM/",
30 "qml/mocks/LightDM/",
33+ if not os.path.exists(new_ld_library_path):
35+ "LightDM mock '%s' does not exist." % mock_type
34 logger.info("New library path: %s", new_ld_library_path)
38 logger.info("New library path: %s", new_ld_library_path)
35 args[0].patch_environment('LD_LIBRARY_PATH', new_ld_library_path)
39 args[0].patch_environment('LD_LIBRARY_PATH', new_ld_library_path)