[Buildroot] [PATCH 1/3] support/scripts/generate-gitlab-ci-yml: allow multiple tests in one pipeline
Peter Korsgaard
peter at korsgaard.com
Wed Nov 3 20:19:51 UTC 2021
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
> The current Gitlab CI mechanism allows to trigger all tests in a CI
> pipeline by pushing a branch named <something>-runtime-tests, or to
> trigger a single test in a CI pipeline by pushing a branch name
> <something>-tests.<name of test>.
> However, there are cases where it is useful to run a suite of tests,
> for example to run all tests in tests.init.test_busybox.
> This commit makes that possible by extending the current semantic of
> <something>-tests.<name of test> to not expect a complete test name,
> but instead to accept all tests that starts with the given pattern.
> This allows to do:
> git push gitlab HEAD:foobar-tests.init.test_busybox.TestInitSystemBusyboxRo
> like it was the case before. But it now also allows to do:
> git push gitlab HEAD:foobar-tests.init.test_busybox
> to run all Busybox tests.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Committed to 2021.02.x and 2021.08.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list