[Concept,02/24] test/py: Mark a few more tests as slow

Message ID 20251018084117.1798704-3-sjg@u-boot.org
State New
Headers
Series bootctl: Expand bootctl to include a new UI |

Commit Message

Simon Glass Oct. 18, 2025, 8:40 a.m. UTC
  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(+)
  

Patch

diff --git a/test/py/tests/test_bind.py b/test/py/tests/test_bind.py
index 4982a00fab6..b0a5b7b3e84 100644
--- a/test/py/tests/test_bind.py
+++ b/test/py/tests/test_bind.py
@@ -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')
diff --git a/test/py/tests/test_fit_auto_signed.py b/test/py/tests/test_fit_auto_signed.py
index cdfd341c6f5..0e34e4b0704 100644
--- a/test/py/tests/test_fit_auto_signed.py
+++ b/test/py/tests/test_fit_auto_signed.py
@@ -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.
 
diff --git a/test/py/tests/test_make_dep.py b/test/py/tests/test_make_dep.py
index 734cbb547e4..d5cb5145bc4 100644
--- a/test/py/tests/test_make_dep.py
+++ b/test/py/tests/test_make_dep.py
@@ -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