| commit | bd187425f7cb8b0225f5e038d23d94e64ee7b46d | [log] [tgz] |
|---|---|---|
| author | Lukasz Fundakowski <lukasz.fundakowski@nordicsemi.no> | Fri Oct 31 16:26:23 2025 +0100 |
| committer | Johan Hedberg <johan.hedberg@gmail.com> | Fri Nov 14 15:25:41 2025 +0200 |
| tree | 114225877ecabcc7a07e44f38edc7876e0fcda9a | |
| parent | c84145fe83c9db6a63be0f5b9ba7f4e95527e35b [diff] |
twister: Don't print full stack trace in `readlines_until` method The readlines_until method is part of the testing framework (pytest harness) and should not print a full stack trace when the expected line isn't found. It should also raise an AssertionError instead of a TwisterHarnessTimeoutException, allowing users to know that a test failed because the expected condition did not happen. Signed-off-by: Lukasz Fundakowski <lukasz.fundakowski@nordicsemi.no>