unittestCheckHook: handle unittestFlagsArray __structuredAttrs-agnostically

Take unittestFlags as the new and conforming interface.

Keep unittestFlagsArray as is.
This commit is contained in:
Yueh-Shun Li 2024-10-07 08:37:10 +08:00
parent 76f6a3b292
commit 1e8f39148a
3 changed files with 13 additions and 2 deletions

View file

@ -1433,7 +1433,7 @@ automatically add `pythonRelaxDepsHook` if either `pythonRelaxDeps` or
unittestCheckHook
];
unittestFlagsArray = [
unittestFlags = [
"-s" "tests" "-v"
];
}