]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa/selftest: introduce gitarchive tests
authorAlexis Lothoré <alexis.lothore@bootlin.com>
Fri, 18 Aug 2023 14:17:10 +0000 (16:17 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Aug 2023 10:34:05 +0000 (11:34 +0100)
commitbc9b8ef4bc3e51ba7fca372ab7e532a80975d819
treed367547d38389b37051a4f139f6c6588af26164c
parent3a7021f5029ad30f5cf9adf02c91029e63ef0ef8
oeqa/selftest: introduce gitarchive tests

Add a test suite for gitarchive.py. For now, only introduce tests on
methods which needs to read existing tags

The tests rely on tmpdirs to create local, "fake" results repository in
order to allow basic git commands

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/gitarchivetests.py [new file with mode: 0644]