Page MenuHomeFreeBSD

atf_pytest_wrapper: Avoid truncation when longer output
ClosedPublic

Authored by jlduran on Dec 28 2022, 4:01 PM.
Tags
None
Referenced Files
F107944358: D37894.diff
Sun, Jan 19, 7:35 PM
Unknown Object (File)
Sat, Jan 18, 12:07 AM
Unknown Object (File)
Mon, Dec 23, 8:51 PM
Unknown Object (File)
Nov 27 2024, 9:09 AM
Unknown Object (File)
Nov 4 2024, 4:20 AM
Unknown Object (File)
Sep 28 2024, 8:43 AM
Unknown Object (File)
Sep 18 2024, 9:16 AM
Unknown Object (File)
Sep 17 2024, 9:45 PM

Details

Summary

When debugging a failure with longer output, the lines get truncated.
Pass -vv to pytest in order to get the full output.
While here, enforce the modeline.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

@melifaro, do you take GitHub pull requests? This review was originally two commits, one for the style fixes, another for the actual "fix".
I believe it is safe to leave always with -vv?, as it matches the other ATF output.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 28 2022, 5:34 PM
This revision was automatically updated to reflect the committed changes.

Thank you for the patch!

In D37894#860943, @jlduran_gmail.com wrote:

@melifaro, do you take GitHub pull requests? This review was originally two commits, one for the style fixes, another for the actual "fix".

Just in case - it's possible to create a review with multiple commits.

I believe it is safe to leave always with -vv?, as it matches the other ATF output.

I'm not sure I have the notifications configured, but let's try.