-
Notifications
You must be signed in to change notification settings - Fork 3k
Icetea hw restriction #8137
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
Icetea hw restriction #8137
Conversation
@jonikula @studavekar please review |
tools/run_icetea.py
Outdated
def get_applications(test): | ||
ret = list() | ||
for dut in test['requirements']['duts'].values(): | ||
if 'application' in dut.keys() and 'name' in dut['application'].keys(): | ||
if 'application' in dut.keys() and 'name' in dut['applicati on'].keys(): |
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.
Typo here.
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.
thanks, fixed
f6aaff4
to
ed18665
Compare
@jonikula Please take another look as Olli has updated this PR. |
@alekla01 please review |
c648019
to
ed18665
Compare
/morph build |
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.
(example, does not necessarily have anything to do with this pr)
target = 'K64F', ['1']['allowed_platforms'] = ['K66F']
doesn't this use 'K64F' binaries but flash 'K66F'?
For me it looks like setting |
Build : SUCCESSBuild number : 3081 Triggering tests/morph test |
@OPpuolitaival Please review the latest 2 comments, if this requires changes . Should be done asap if that is the case |
@jupe Current implementation work surely. You need to understand that it is about generated configuration and we need to limit target devices. Current idea is also that there should not be board specific test cases in Mbed OS. Now it works so that test application binary cannot be build if target board do not support those features. When application cannot be build the tests will be skipped. |
@alekla01 do you mean that tests are not real use cases? Yes those are just unit tests which validate function not the bigger use case |
@OPpuolitaival |
Test : SUCCESSBuild number : 2870 |
In that case this should overwrite allowed list with empty array (="no board specific test") and use Another concern related to @alekla01 comment. Do we have/will have tests which require different applications per device ? That might causing more tuning here.. |
Exporter Build : SUCCESSBuild number : 2692 |
@jupe @alekla01 @OPpuolitaival All approved but based on the comments, the discussion is not yet over. I believe this is good to go (needs some improvements later possibly). If not, now it's the time to request changes. |
Bringing this in, since we need to get RC3 generated in the next couple of hours. Further discussion can continue either here or in an issue (prefereably an issue). |
@0xc0170 this solve the problem. Yes there might be some issues in future that we might need to change this a bit. The reason why this code is in this repository and not in mbed-cli is that icetea usage logic and test cases will be in sync |
Description
Restrict the board where test are running. This fix the problem in case that user has multiple different boards connected to the machine same time
Pull request type