From: Simon Glass <sjg@chromium.org>
These are the top five slowest test as reported from 'make qcheck':
42.2s test_dep_esl
29.7s test_dep_hwids
17.3s test_dep_dtbo
6.4s test_bind_unbind_with_node
5.2s test_fit_auto_signed
Mark them as slow so that they are skipped with 'make qcheck'.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
test/py/tests/test_bind.py | 1 +
test/py/tests/test_fit_auto_signed.py | 1 +
test/py/tests/test_make_dep.py | 3 +++
3 files changed, 5 insertions(+)
@@ -27,6 +27,7 @@ def in_tree(response, name, uclass, drv, depth, last_child):
@pytest.mark.boardspec('sandbox')
@pytest.mark.buildconfigspec('cmd_bind')
+@pytest.mark.slow
def test_bind_unbind_with_node(ubman):
tree = ubman.run_command('dm tree')
@@ -120,6 +120,7 @@ class SignedFitHelper(object):
@pytest.mark.buildconfigspec('fit_signature')
@pytest.mark.requiredtool('fdtget')
+@pytest.mark.slow
def test_fit_auto_signed(ubman):
"""Test that mkimage generates auto-FIT with signatures/hashes as expected.
@@ -411,6 +411,7 @@ def _check_template_change(env, prev_esl_mtime, prev_dtsi_mtime):
@pytest.mark.boardspec('sandbox')
+@pytest.mark.slow
def test_dep_hwids(ubman):
"""Test that Makefile dependency tracking works without FORCE
@@ -432,6 +433,7 @@ def test_dep_hwids(ubman):
@pytest.mark.boardspec('sandbox')
+@pytest.mark.slow
def test_dep_dtbo(ubman):
"""Test that dtbo dependency tracking works without FORCE
@@ -450,6 +452,7 @@ def test_dep_dtbo(ubman):
@pytest.mark.boardspec('sandbox')
+@pytest.mark.slow
def test_dep_esl(ubman):
"""Test that ESL dependency tracking works without FORCE