mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
tests: Add env var to override plugin used for tests
This is so that the test suite can point at the non-installed version.
This commit is contained in:
@ -447,5 +447,11 @@ test_client_destroy (TestClient *client)
|
||||
const char *
|
||||
test_get_plugin_name (void)
|
||||
{
|
||||
return "libdefault";
|
||||
const char *name;
|
||||
|
||||
name = g_getenv ("MUTTER_TEST_PLUGIN_PATH");
|
||||
if (name)
|
||||
return name;
|
||||
else
|
||||
return "libdefault";
|
||||
}
|
||||
|
Reference in New Issue
Block a user