mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
* tests/interactive/test-main.c (main): Allow more than two
arguments so that the remaining arguments can be passed to the test. This is needed for test-behave for example which can take a --path argument.
This commit is contained in:
@ -12,7 +12,7 @@ main (int argc, char **argv)
|
||||
int (*unit_test_main) (int argc, char **argv);
|
||||
int ret;
|
||||
|
||||
if (argc != 2)
|
||||
if (argc < 2)
|
||||
g_error ("Usage: %s unit_test", argv[0]);
|
||||
|
||||
module = g_module_open (NULL, 0);
|
||||
|
Reference in New Issue
Block a user