test: use the local variable for njobs, not the global one
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1174>
This commit is contained in:
1 parent
5a652e5116
commit
bbd9df60de
1 file changed
+1
-1
+1
-1
@@ -1527,7 +1527,7 @@ litest_run_suite(struct list *suites, int njobs)
|
||||
struct suite *s;
|
||||
struct litest_runner *runner = litest_runner_new();
|
||||
|
||||
litest_runner_set_num_parallel(runner, jobs > 0 ? jobs : 0);
|
||||
litest_runner_set_num_parallel(runner, njobs > 0 ? njobs : 0);
|
||||
if (outfile)
|
||||
litest_runner_set_output_file(runner, outfile);
|
||||
litest_runner_set_verbose(runner, verbose);
|
||||
|
||||
Reference in new issue
Block a user