Skip to content

Fix behavior when mbed-os RTOS tests are build while the system is singlet hreaded. #2239

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
Jul 25, 2016

Conversation

pan-
Copy link
Member

@pan- pan- commented Jul 25, 2016

For mbed micro, if the MBED_RTOS_SINGLE_THREAD is defined then the
compilation of the test will fail with the info
[NOT_SUPPORTED] test not supported

This patch bring this behavior to mbed-os tests using threads.

…ngle

threaded.

For mbed micro, if the MBED_RTOS_SINGLE_THREAD is defined then the
compilation of the test will fail with the info
	[NOT_SUPPORTED] test not supported

This patch bring this behavior to mbed-os RTOS tests.
@pan-
Copy link
Member Author

pan- commented Jul 25, 2016

@0xc0170 @sg-

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 25, 2016

LGTM

We will need to run some tests

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 25, 2016

@mbed-bot: TEST

HOST_OSES=windows
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=K64F,NRF51_DK,NRF51_MICROBIT,NUCLEO_F411RE

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 25, 2016

/morph test

@mbed-bot
Copy link

[Build ${MBED_BUILD_ID}]
FAILURE: Something went wrong when building and testing.

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 25, 2016

@mbed-bot: TEST

HOST_OSES=windows
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=K64F,NRF51_DK,NRF51_MICROBIT,NUCLEO_F411RE

@mbed-bot
Copy link

[Build 696]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@mbed-bot
Copy link

Result: FAILURE

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

/morph test

Output

mbed Build Number: 510

Test failed!

@sg-
Copy link
Contributor

sg- commented Jul 25, 2016

LGTM 👍

@sg- sg- merged commit d2dbce0 into ARMmbed:master Jul 25, 2016
@pan- pan- deleted the fix_single_thread_rtos_test branch July 3, 2018 11:03
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.

4 participants