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

Refactor Target and Config away from global variables #2757

Merged
merged 1 commit into from
Sep 22, 2016

Conversation

theotherjimmy
Copy link
Contributor

avoids a multi-threading bug in the online export system

Copy link
Contributor

@screamerbg screamerbg left a comment

Choose a reason for hiding this comment

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

This is needed to support multi-threaded environment and also allow subsequent builds/exports with different application configurations in the same python code. E.g. building multiple tests with different configuration within the same python runner

@screamerbg
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 908

All builds and test passed!

@bridadan
Copy link
Contributor

bridadan commented Sep 21, 2016

I should note that the bot doesn't do anything fancy with config. In fact, it uses exclusively the default config. Have you tested this locally with some of the existing examples that make use of config (ex https://github.com/ARMmbed/mbed-os-example-client)?

@theotherjimmy
Copy link
Contributor Author

@bridadan the Travis runs config tests.

@bridadan
Copy link
Contributor

@theotherjimmy good point, forgot about that 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants