-
Notifications
You must be signed in to change notification settings - Fork 3k
build: fix notifier typo and passing to builds API #6914
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
Conversation
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.
LGTM
Hi Martin
LGTM, Thx |
Oups... I made a too quick answer... $ python tools/build.py -m NUCLEO_F030R8 -t ARM |
8628934
to
58d3de2
Compare
Notifier should be passed to build libs functions, otherwise it's none and fails. Missing notify object in toolchain also fixed.
58d3de2
to
0bbfc61
Compare
Fixed, I noticed few self.info in toolchains init file. Fixed now, they invoke it via self.notify.info |
Seems correction is not complete... python tools/singletest.py -M muts_test.json -i muts_compilation.json -V -j 4 |
it was removed recently, not used anymore
I was after fixing build problem, but as we are on the subject, lets fix the verbose argument that is not there anymore. Pushed a new commit, removing verbose from build libs as it's not defined anymore |
File "C:\github\mbed\tools\build_api.py", line 1028, in build_mbed_libs |
Thanks @jeromecoutant . What is the command ? I would like to reproduce the issue. None should not be passed to build functions as notify argument or this needs a bit refactoring. waiting for @theotherjimmy |
python tools/singletest.py --auto --tc ARM -n MBED_2 |
@@ -197,6 +197,7 @@ | |||
name=options.artifact_name, | |||
build_profile=profile, | |||
ignore=options.ignore, | |||
notify = notifier, |
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.
Spaces should be removed.
@0xc0170 Would you like me to fix singletest.py? |
@0xc0170 ^^^ ? |
@cmonr Let's get this in. Singletest can come as another PR, if at all. |
/morph build |
Build : SUCCESSBuild number : 2239 Triggering tests/morph test |
Test : SUCCESSBuild number : 2028 |
Exporter Build : SUCCESSBuild number : 1863 |
No..
|
@theotherjimmy @cmonr If you can help with this one. I would close this and we fix the issues (@jeromecoutant confirmed even this does not completely fixes it). Thanks! |
@0xc0170 Let's get this in as is and not block one fix waiting on another fix that will affect fewer users |
@jeromecoutant see #7124 |
Missing release version, I believe should be 5.9 rc2 - resolves build failures we saw there |
Description
Notifier should be passed to build libs functions, otherwise it's none and fails. To get this in, I would like first to have tests failing for mbed 2 builds to confirm this is fixing it (tested locally, it does build now).
@jeromecoutant This should fix the issue you reported few minutes ago.
Pull request type