mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05: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:
parent
0afaf5262b
commit
c663f4ae84
@ -447,5 +447,11 @@ test_client_destroy (TestClient *client)
|
||||
const char *
|
||||
test_get_plugin_name (void)
|
||||
{
|
||||
const char *name;
|
||||
|
||||
name = g_getenv ("MUTTER_TEST_PLUGIN_PATH");
|
||||
if (name)
|
||||
return name;
|
||||
else
|
||||
return "libdefault";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user