mirror of https://github.com/ARMmbed/mbed-os.git
Error message correction and rx_lib header filer removed on systimer test case
parent
9e994cfe38
commit
6437f99a11
|
@ -31,7 +31,8 @@
|
|||
"kv-config",
|
||||
"events",
|
||||
"kv-global-api",
|
||||
"sd"
|
||||
"sd",
|
||||
"nvstore"
|
||||
],
|
||||
"target_overrides": {
|
||||
"*": {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] Low power timer test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] Low power timer test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#if !DEVICE_LPTICKER
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] Watchdog test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#if !DEVICE_WATCHDOG
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] Watchdog reset test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] Watchdog reset test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#if !DEVICE_WATCHDOG
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
#if !defined(MBED_RTOS_CONF_PRESENT)
|
||||
#error [NOT_SUPPORTED] usticker test cases requires RTOS to run
|
||||
#error [NOT_SUPPORTED] usticker test cases require a RTOS to run
|
||||
#else
|
||||
|
||||
#include "mbed.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
*/
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] common tickers frequency test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] common tickers frequency test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#include "mbed.h"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
*/
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] Low power timer test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] Low power timer test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#include "mbed.h"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] stack size unification test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] stack size unification test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#include "mbed.h"
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] Watchdog test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] Watchdog test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#if !DEVICE_WATCHDOG
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] crash_reporting test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] crash_reporting test cases require a RTOS to run.
|
||||
#else
|
||||
#include "mbed.h"
|
||||
#include "mbed_error.h"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "utest.h"
|
||||
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] MemoryPool test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] MemoryPool test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
using namespace utest::v1;
|
||||
|
@ -670,4 +670,4 @@ int main()
|
|||
Harness::run(specification);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#if !defined(MBED_CONF_RTOS_PRESENT)
|
||||
#error [NOT_SUPPORTED] kernel tick count test cases requires RTOS to run.
|
||||
#error [NOT_SUPPORTED] kernel tick count test cases require a RTOS to run.
|
||||
#else
|
||||
|
||||
#include "greentea-client/test_env.h"
|
||||
|
@ -121,4 +121,4 @@ int main()
|
|||
{
|
||||
return !utest::v1::Harness::run(specification);
|
||||
}
|
||||
#endif
|
||||
#endif // !defined(MBED_CONF_RTOS_PRESENT)
|
||||
|
|
|
@ -20,12 +20,6 @@
|
|||
#include "utest.h"
|
||||
#include "ticker_api.h"
|
||||
|
||||
#if defined(MBED_CONF_RTOS_PRESENT)
|
||||
extern "C" {
|
||||
#include "rtx_lib.h"
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "platform/source/SysTimer.h"
|
||||
|
||||
#define TEST_TICKS 42
|
||||
|
|
Loading…
Reference in New Issue