Pass the remaining args to the executed interactive unit

We only support running one interactive test at a time; everything after
the unit name is to be considered an argument to the actual unit.
This commit is contained in:
Emmanuele Bassi 2011-09-29 14:01:03 +01:00
parent 7d515553e6
commit e058cd4c5f

View File

@ -195,7 +195,11 @@ main (int argc, char **argv)
unit_test_main = func; unit_test_main = func;
ret = unit_test_main (argc, argv); ret = unit_test_main (n_unit_names, unit_names);
g_free (unit_test);
break;
} }
g_free (unit_test); g_free (unit_test);