-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Display command line parameters with concrete values in verbose mode #2847
Conversation
Ah, it seems that some of the tests are failing due to using different |
I believe the intention of #2834 is to know the parameters used in "default" circumstances, when they are not specified on command line. For example :
Note how The intention is to reproduce this level of details, For reference, currently, using this PR, I'm getting :
The intention would rather be to generate a line like (for example):
and then possibly extend it with additional options if they are useful. |
So more or less what |
0b3975e
to
9bd38cc
Compare
Yes, pretty close. One expected difference though is that these parameters should be the ones actually used by the compressor. |
From a high level perspective, this PR does the expected job.
|
The reason |
Yeah, these are good points. With both angles having pros and cons, there is no "obvious" better solution. |
9bd38cc
to
63fe619
Compare
eb86afc
to
f6ffd39
Compare
@Cyan4973 I noticed some GitHub actions are failing due to |
Indeed, We generally solve this situation by using |
4be8333
to
4bef757
Compare
4bef757
to
7fbd126
Compare
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.
Great PR @Svetlitski-FB !
I believe it's in good shape, and only have one minor request :
Could you merge your test, in tests/test_verbose_output.sh
as part of test/playTests.sh
?
It seems to be a fast enough test, so it can be played as part of the baseline test suite which is always triggered (make check
), typically near https://github.com/facebook/zstd/blob/dev/tests/playTests.sh#L769 to remain on-topic.
Thanks for delivering this new feature @Svetlitski-FB ! |
Continue addressing #2834