Skip to content

Fix for issue with libraries being built out of order #1425

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

Merged
merged 1 commit into from
Nov 16, 2015

Conversation

bridadan
Copy link
Contributor

I introduced a regression a while ago that builds library dependencies out of order when building tests. This PR fixes that regression.

Library dependencies are now built in the order they are specified in the test's definition in tests.py.

Ex. for the test NET_1, its definition looks like this in tests.py:

    {
        "id": "NET_1", "description": "TCP client hello world",
        "source_dir": join(TEST_DIR, "net", "helloworld", "tcpclient"),
        "dependencies": [MBED_LIBRARIES, RTOS_LIBRARIES, ETH_LIBRARY, TEST_MBED_LIB],
        "duration": 15,
        "automated": True,
        "peripherals": ["ethernet"],
    },

You can see the order in which the library dependencies will be built by examining the dependencies key.

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 16, 2015

Can you share which PR which changed this previously?

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 16, 2015

Found it #1040 :-)

0xc0170 added a commit that referenced this pull request Nov 16, 2015
Fix for issue with libraries being built out of order
@0xc0170 0xc0170 merged commit 33558d3 into ARMmbed:master Nov 16, 2015
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.

2 participants