* 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:
parent
12051380f7
commit
803182d5c9
@ -1,3 +1,10 @@
|
||||
2008-11-10 Neil Roberts <neil@linux.intel.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2008-11-10 Emmanuele Bassi <ebassi@linux.intel.com>
|
||||
|
||||
* clutter/clutter-texture.c: Remove an unused function.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user