-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add xxd for data file regenerating tests #112
Conversation
Signed-off-by: Jerry Yu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please run a Linux job on each CI to check that the docker images are built correctly.
@@ -85,6 +85,8 @@ RUN apt-get update -q && apt-get install -yq \ | |||
python3-pip \ | |||
# for Mbed TLS tests | |||
valgrind \ | |||
# for data files generating. xxd is provide by vim |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By vim-common
, actually, but I don't mind installing vim
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For 16.04, it is provide by vim.
I did not try other distro :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
schroot -c xenial -- dpkg -S bin/xxd
vim-common: /usr/bin/xxd
But it doesn't matter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, approved pending CI results.
Test runs: |
Both CIs built the new images successfully - and both runs failed due to unrelated issues (network issues reaching github on the internal side, and |
xxd
command is used for generating malformed data files. And Mbed-TLS/mbedtls#7866 introduces tests for data files.