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

Improve instructions and output for golden tests. #1790

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

maryla-uc
Copy link
Collaborator

No description provided.

tests/golden_test_common.sh Outdated Show resolved Hide resolved
If the diffs are expected, update the golden files with:
cp "$OUTPUT_DIR"/*.xml "$GOLDEN_DIR"
View diffs with: (set DIFFTOOL to your favorite tool if needed)
$(echo -e "${BLUE}")$diff_command_with_full_paths$(echo -e "${NO_COLOR}")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Missing indent?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The diff_command_with_full_paths variable actually contains the indents, because it's multiline so it's simpler this way. Added a comment above diff_command_with_full_paths, I can't really add a comment inside the heredoc.

@maryla-uc maryla-uc merged commit edc91c4 into AOMediaCodec:main Nov 22, 2023
18 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.

2 participants