Skip to content

tests: add a test to check translatable string options in OS400 wrapper#11650

Closed
monnerat wants to merge 2 commits intocurl:masterfrom
monnerat:check-translatable-options
Closed

tests: add a test to check translatable string options in OS400 wrapper#11650
monnerat wants to merge 2 commits intocurl:masterfrom
monnerat:check-translatable-options

Conversation

@monnerat
Copy link
Contributor

This test runs a perl script that checks all string options are properly translated by the OS400 character code conversion wrapper. It also verifies these options are listed in alphanumeric order in the wrapper switch statement.

@github-actions github-actions bot added the tests label Aug 10, 2023
@monnerat monnerat force-pushed the check-translatable-options branch 2 times, most recently from b21ae76 to 0ee0635 Compare August 10, 2023 13:21
@dfandrich
Copy link
Contributor

Otherwise looks fine to me.

@monnerat monnerat force-pushed the check-translatable-options branch from 0ee0635 to 2afe39a Compare August 10, 2023 23:06
@monnerat
Copy link
Contributor Author

monnerat commented Aug 10, 2023

Otherwise looks fine to me.

Thanks for your review. All your remarks are now taken into account.

I've added a commit that removes the now redundant build time translatable string options check on OS/400: if kept, it would have only signaled false positives!

@monnerat monnerat force-pushed the check-translatable-options branch from 2afe39a to 6fcfc4c Compare August 11, 2023 10:57
This test runs a perl script that checks all string options are properly
translated by the OS400 character code conversion wrapper. It also
verifies these options are listed in alphanumeric order in the wrapper
switch statement.
Now that there is a test for this, the build time check is not needed
anymore.
@monnerat monnerat force-pushed the check-translatable-options branch from 6fcfc4c to 59d2c92 Compare August 13, 2023 08:47
@bagder bagder closed this in ae80639 Aug 17, 2023
bagder pushed a commit that referenced this pull request Aug 17, 2023
Now that there is a test for this, the build time check is not needed
anymore.

Closes #11650
@monnerat
Copy link
Contributor Author

Thanks for merge :-)

@monnerat monnerat deleted the check-translatable-options branch August 19, 2023 06:51
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
This test runs a perl script that checks all string options are properly
translated by the OS400 character code conversion wrapper. It also
verifies these options are listed in alphanumeric order in the wrapper
switch statement.

Closes curl#11650
ptitSeb pushed a commit to wasix-org/curl that referenced this pull request Sep 25, 2023
Now that there is a test for this, the build time check is not needed
anymore.

Closes curl#11650
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants