testing/infra: Add BRConfigTest as superclass of BRTest
authorRicardo Martincoski <ricardo.martincoski@datacom.ind.br>
Wed, 6 Feb 2019 03:25:29 +0000 (21:25 -0600)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 6 Feb 2019 09:40:15 +0000 (10:40 +0100)
commit0461ef4dea3d39a53894bf68697c266db2d33f5a
tree75a81cbf97d93f78b1cfebf991b024592efbaf7e
parente0d540bdda33c21c3c20edfa93c910a874bd4df1
testing/infra: Add BRConfigTest as superclass of BRTest

The git tests don't need to do a full build, they only need to do a
configure and download and/or legal-info. More tests of that type will
be added in the future. Therefore, we want to have a test base class
that doesn't automatically do a full build in the setUp().

Add this new class as a superclass of the existing BRTest class, so we
don't need to update existing tests. Only the code in run-tests that
iterates over all subclasses of BRTest has to be adapted to use
BRConfigTest instead.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
support/testing/infra/basetest.py
support/testing/run-tests