]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: Fix broken 'notbuildconfigspec' marker
authorCristian Ciocaltea <cristian.ciocaltea@gmail.com>
Tue, 24 Dec 2019 15:19:12 +0000 (17:19 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:19 +0000 (18:08 +0100)
commit49b5b19f862bea5da5887f5d58411dafeaff1ae9
tree051f37946196f12601cb620998c8110d9b5cfa6c
parent5a8fa095cb848c60c630a83edf30d4fc46101e90
test/py: Fix broken 'notbuildconfigspec' marker

Consider the following test sample:

@pytest.mark.buildconfigspec('fit')
@pytest.mark.notbuildconfigspec('generate_acpi_table')
def test_sample(u_boot_console):

Whatever the argument of the 'notbuildconfigspec' is,
the test ends up being skipped with the message:

('/uboot/test/py/conftest.py', 463,
 'Skipped: .config feature "fit" enabled')

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/py/conftest.py