[Buildroot] [PATCH 4/7] support/testing: move BRTest initialisation to __init__

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 10 15:59:41 UTC 2017


Hello,

On Mon, 10 Jul 2017 01:21:20 +0200, Arnout Vandecappelle
(Essensium/Mind) wrote:
> BRTest's setUp() method contains a few assignments that initialize its
> member variables. Since we will want to use these in test case
> overrides, move them to the __init__ function.
> 
> Also allow the config member to be overridden, rather than always
> taking the class member.
> 
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
> ---
>  support/testing/infra/basetest.py | 11 +++++++----
>  1 file changed, 7 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list