Skip to content

Conversation

@m4tx
Copy link
Collaborator

@m4tx m4tx commented Nov 21, 2025

No description provided.

@m4tx m4tx force-pushed the fdt-print-dts branch 2 times, most recently from bac4c2c to 204e7ab Compare November 21, 2025 16:47
Base automatically changed from fdt-properties to main December 9, 2025 10:59
tests/fdt.rs Outdated

#[test]
fn pretty_print() {
let dtb = include_bytes!("dtb/test_pretty_print.dtb");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about having this test all the DTB/DTS pairs you have in the test directory?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair. I thought there will be more differences between a human-written DTS and the outputted one (as we use heuristics to get decent DTS formatting for the values), but it seems to be just fine, so I've just added this.

@m4tx m4tx requested a review from qwandor December 9, 2025 11:40
@m4tx m4tx merged commit d701cf6 into main Dec 9, 2025
25 checks passed
@m4tx m4tx deleted the fdt-print-dts branch December 9, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants