Skip to content

Commit 6437f99

Browse files
committed
Error message correction and rx_lib header filer removed on systimer test case
1 parent 9e994cf commit 6437f99

File tree

13 files changed

+15
-20
lines changed

13 files changed

+15
-20
lines changed

TESTS/configs/baremetal.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"kv-config",
3232
"events",
3333
"kv-global-api",
34-
"sd"
34+
"sd",
35+
"nvstore"
3536
],
3637
"target_overrides": {
3738
"*": {

TESTS/mbed_drivers/lp_timeout/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616
#if !defined(MBED_CONF_RTOS_PRESENT)
17-
#error [NOT_SUPPORTED] Low power timer test cases requires RTOS to run.
17+
#error [NOT_SUPPORTED] Low power timer test cases require a RTOS to run.
1818
#else
1919

2020
#if !DEVICE_LPTICKER

TESTS/mbed_drivers/watchdog/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#if !defined(MBED_CONF_RTOS_PRESENT)
19-
#error [NOT_SUPPORTED] Watchdog test cases requires RTOS to run.
19+
#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run.
2020
#else
2121

2222
#if !DEVICE_WATCHDOG

TESTS/mbed_drivers/watchdog_reset/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
#if !defined(MBED_CONF_RTOS_PRESENT)
18-
#error [NOT_SUPPORTED] Watchdog reset test cases requires RTOS to run.
18+
#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run.
1919
#else
2020

2121
#if !DEVICE_WATCHDOG

TESTS/mbed_hal/common_tickers/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
#if !defined(MBED_RTOS_CONF_PRESENT)
18-
#error [NOT_SUPPORTED] usticker test cases requires RTOS to run
18+
#error [NOT_SUPPORTED] usticker test cases require a RTOS to run
1919
#else
2020

2121
#include "mbed.h"

TESTS/mbed_hal/common_tickers_freq/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*/
2222

2323
#if !defined(MBED_CONF_RTOS_PRESENT)
24-
#error [NOT_SUPPORTED] common tickers frequency test cases requires RTOS to run.
24+
#error [NOT_SUPPORTED] common tickers frequency test cases require a RTOS to run.
2525
#else
2626

2727
#include "mbed.h"

TESTS/mbed_hal/lp_ticker/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
#if !defined(MBED_CONF_RTOS_PRESENT)
18-
#error [NOT_SUPPORTED] Low power timer test cases requires RTOS to run.
18+
#error [NOT_SUPPORTED] Low power timer test cases require a RTOS to run.
1919
#else
2020

2121
#include "mbed.h"

TESTS/mbed_hal/stack_size_unification/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* limitations under the License.
1717
*/
1818
#if !defined(MBED_CONF_RTOS_PRESENT)
19-
#error [NOT_SUPPORTED] stack size unification test cases requires RTOS to run.
19+
#error [NOT_SUPPORTED] stack size unification test cases require a RTOS to run.
2020
#else
2121

2222
#include "mbed.h"

TESTS/mbed_hal/watchdog/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717
#if !defined(MBED_CONF_RTOS_PRESENT)
18-
#error [NOT_SUPPORTED] Watchdog test cases requires RTOS to run.
18+
#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run.
1919
#else
2020

2121
#if !DEVICE_WATCHDOG

TESTS/mbed_platform/crash_reporting/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616
#if !defined(MBED_CONF_RTOS_PRESENT)
17-
#error [NOT_SUPPORTED] crash_reporting test cases requires RTOS to run.
17+
#error [NOT_SUPPORTED] crash_reporting test cases require a RTOS to run.
1818
#else
1919
#include "mbed.h"
2020
#include "mbed_error.h"

TESTS/mbedmicro-rtos-mbed/MemoryPool/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "utest.h"
2020

2121
#if !defined(MBED_CONF_RTOS_PRESENT)
22-
#error [NOT_SUPPORTED] MemoryPool test cases requires RTOS to run.
22+
#error [NOT_SUPPORTED] MemoryPool test cases require a RTOS to run.
2323
#else
2424

2525
using namespace utest::v1;
@@ -670,4 +670,4 @@ int main()
670670
Harness::run(specification);
671671
}
672672

673-
#endif
673+
#endif // !defined(MBED_CONF_RTOS_PRESENT)

TESTS/mbedmicro-rtos-mbed/kernel_tick_count/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616
#if !defined(MBED_CONF_RTOS_PRESENT)
17-
#error [NOT_SUPPORTED] kernel tick count test cases requires RTOS to run.
17+
#error [NOT_SUPPORTED] kernel tick count test cases require a RTOS to run.
1818
#else
1919

2020
#include "greentea-client/test_env.h"
@@ -121,4 +121,4 @@ int main()
121121
{
122122
return !utest::v1::Harness::run(specification);
123123
}
124-
#endif
124+
#endif // !defined(MBED_CONF_RTOS_PRESENT)

TESTS/mbedmicro-rtos-mbed/systimer/main.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@
2020
#include "utest.h"
2121
#include "ticker_api.h"
2222

23-
#if defined(MBED_CONF_RTOS_PRESENT)
24-
extern "C" {
25-
#include "rtx_lib.h"
26-
}
27-
#endif
28-
2923
#include "platform/source/SysTimer.h"
3024

3125
#define TEST_TICKS 42

0 commit comments

Comments
 (0)