[U-Boot] [PATCH] test: py: Use global pytestmark for hush tests

Stephen Warren swarren at wwwdotorg.org
Wed May 17 15:08:37 UTC 2017


On 05/17/2017 03:17 AM, Michal Simek wrote:
> All tests in test_hush_if_test depends on hush parser
> to be present.
> This patch simplify test dependencies by using global
> pytestmark.

Nit: That seems to have been accidentally line-wrapped.

> diff --git a/test/py/tests/test_hush_if_test.py b/test/py/tests/test_hush_if_test.py

> +pytestmark = pytest.mark.buildconfigspec('hush_parser')

This is fine to unify the marking, but I was actually talking about 
adding a new dependency on cmd_echo, which I assume can be turned off 
even with hush_parser enabled?


More information about the U-Boot mailing list