test: use the default job control for --filter-groups
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 1 Jul 2019 02:20:44 +0000 (12:20 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 8 Jul 2019 03:28:47 +0000 (13:28 +1000)
All filter arguments currently force a -j1 unless otherwise specified. Change
this for --filter-group since that one is most likely invoked by some test
setup that can either add -j X or set the environment variable LITEST_JOBS as
well.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c

index 76da2c5..6521cbf 100644 (file)
@@ -4071,8 +4071,6 @@ litest_parse_argv(int argc, char **argv)
                        break;
                case OPT_FILTER_GROUP:
                        filter_group = optarg;
-                       if (want_jobs == JOBS_DEFAULT)
-                               want_jobs = JOBS_SINGLE;
                        break;
                case 'j':
                case OPT_JOBS: