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

Tools: correct passing arguments on Autotest.py #17554

Merged
merged 3 commits into from
May 26, 2021
Merged

Conversation

khancyr
Copy link
Contributor

@khancyr khancyr commented May 25, 2021

Correct argument for unittest and example

Display if debug is enable on configuration summary

Comment on lines +144 to +147
j=j,
debug=debug,
math_check_indexes=math_check_indexes,
extra_args=extra_configure_args)
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we can do better here by keeping the arguments to configure and build as separate, opaque, objects.

ATM if we add something to the build options we'd have to go to each of the functions here and add that extra option in and then make sure we passed it into waf_configure. If instead we just passed the dict in we could waf_configure(board, **configure_opts) and not have (e.g.) build_tests have to know about what we were passing to configure.

@tridge
Copy link
Contributor

tridge commented May 26, 2021

approved by peter

@tridge tridge merged commit 86f39d3 into ArduPilot:master May 26, 2021
@khancyr khancyr deleted the ctools branch June 7, 2021 14:43
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants