commit:     68895d264870d41fb666e3238b52ca57eb7e586e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 13 16:47:27 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Dec 13 16:47:27 2025 +0000
URL:        https://gitweb.gentoo.org/proj/steve.git/commit/?id=68895d26

Add a fast path for failed start

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 test/conftest.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/conftest.py b/test/conftest.py
index 07e9d07..3907676 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -25,6 +25,8 @@ class Steve:
         for attempt in range(15):
             if self.dev_path.exists():
                 break
+            if self.subprocess.poll() is not None:
+                raise RuntimeError(f"Steve exited with status 
{self.subprocess.returncode}")
             time.sleep(0.1 * attempt)
         else:
             raise RuntimeError("Steve failed to start")

Reply via email to