Skip to content

twoliter: fix make command trailing varargs#148

Merged
webern merged 1 commit intobottlerocket-os:developfrom
webern:testsys-args-fix
Jan 30, 2024
Merged

twoliter: fix make command trailing varargs#148
webern merged 1 commit intobottlerocket-os:developfrom
webern:testsys-args-fix

Conversation

@webern
Copy link
Contributor

@webern webern commented Jan 30, 2024

Issue number:

Closes #139

Description of changes:

Fixes issue #139. Clap was not configured correctly such that trailing arguments intended to be passed along to the cargo make invocation were not handled correctly. This commit fixes it and adds regression tests in case we change the command arguments or Clap changes behavior.

Testing done:

  • Use it with Bottlerocket's Makefile.toml

Terms of contribution:

By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.

Fixes issue bottlerocket-os#139. Clap was not configured correctly such that trailing
arguments intended to be passed along to the cargo make invocation were
not handled correctly. This commit fixes it and adds regression tests
in case we change the command arguments or Clap changes behavior.
@webern webern merged commit 1f0a378 into bottlerocket-os:develop Jan 30, 2024
@webern webern deleted the testsys-args-fix branch April 12, 2024 21:12
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.

testsys: bug accepting arguments from Bottlerocket's Makefile.toml

4 participants