Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programs to "sort" and compare IFEX content #122

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

gunnar-mb
Copy link
Collaborator

stable_sort_ifex defines a known order of keys so that IFEX files can be reliably compared.
It is a module but can also be run as a standalone script.

The diff_ifex.py script will print the diff between two files, after normalizing the order of the content using the stable_sort_ifex module.

In combination, these are useful tools for future regression testing.

Note: These are older commits that were not written during MBition employment

stable_sort_ifex defines a known order of keys so that IFEX files can be
reliably compared.  It is a module but can also be run as a standalone
script.

The diff_ifex.py script will print the diff between two files, after
normalizing the order of the content using the stable_sort_ifex module.
It can also be used with an external diff program.

Signed-off-by: Gunnar Andersson <gunnar_dev@[email protected]>
@gunnar-mb gunnar-mb merged commit 474e9f2 into COVESA:master Jun 18, 2024
6 checks passed
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.

1 participant