mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
Currently, how to run the check-package test-suite is thoroughly under- documented. There is one hint in the commit log for commitfc254881e6(utils/checkpackagelib: add unit tests), and another in commit242e9d72e7(utils/docker-run: new script); the former is hard to find, and the latter is about an unrelated script, so harder yet to find... Add a new option to check-package, that will make it run its test-suite. Since pytest is only needed for the test-suite, only import it in that case. pytest will be default create a cache of the tests (not sure what it is about, though), so instruct it not to (esp. since the tree can be read-only). Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Ricardo Martincoski <ricardo.martincoski@datacom.com.br> [Arnout: move the code into checkpackagelib.base] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
836 B
836 B