[PATCH] Add parallel testing
Daniel Axtens
dja at axtens.net
Wed Jun 23 00:42:59 AEST 2021
> I am thinking of doing a little scriptlet that just iterates on ncpus
> but if you were able to get this to work on your end (or if anyone knows
> how to actually do what we're going for) I'd be keen to know.
Ah so interestingly the MySQL docs seem to suggest this does work, if
you use backticks instead of single quotes:
https://dev.mysql.com/doc/refman/8.0/en/grant.html#grant-accounts-passwords
I'll give that a go and if it works I'll send a fixup tomorrow and apply
it.
Kind regards,
Daniel
>
> Kind regards,
> Daniel
>
>
>> FLUSH PRIVILEGES;
>> EOF
>> }
>> diff --git tox.ini tox.ini
>> index 0849b059..28f29f6d 100644
>> --- tox.ini
>> +++ tox.ini
>> @@ -28,7 +28,7 @@ passenv =
>> PW_TEST_DB_TYPE PW_TEST_DB_USER PW_TEST_DB_PASS PW_TEST_DB_HOST
>> PW_TEST_DB_PORT
>> commands =
>> - python {toxinidir}/manage.py test --noinput {posargs:patchwork}
>> + python {toxinidir}/manage.py test --noinput --parallel -- {posargs:patchwork}
>>
>> [testenv:bashate]
>> deps = bashate
>> --
>> 2.25.4
>>
>> _______________________________________________
>> Patchwork mailing list
>> Patchwork at lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/patchwork
More information about the Patchwork
mailing list