Error message correction and rx_lib header filer removed on systimer test case

pull/11721/head
RAJKUMAR KANAGARAJ 2019-11-08 09:21:40 -08:00
parent 9e994cfe38
commit 6437f99a11
13 changed files with 15 additions and 20 deletions

View File

@ -31,7 +31,8 @@
"kv-config", "kv-config",
"events", "events",
"kv-global-api", "kv-global-api",
"sd" "sd",
"nvstore"
], ],
"target_overrides": { "target_overrides": {
"*": { "*": {

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#if !DEVICE_LPTICKER #if !DEVICE_LPTICKER

View File

@ -16,7 +16,7 @@
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#if !DEVICE_WATCHDOG #if !DEVICE_WATCHDOG

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#if !DEVICE_WATCHDOG #if !DEVICE_WATCHDOG

View File

@ -15,7 +15,7 @@
*/ */
#if !defined(MBED_RTOS_CONF_PRESENT) #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 #else
#include "mbed.h" #include "mbed.h"

View File

@ -21,7 +21,7 @@
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#include "mbed.h" #include "mbed.h"

View File

@ -15,7 +15,7 @@
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#include "mbed.h" #include "mbed.h"

View File

@ -16,7 +16,7 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#include "mbed.h" #include "mbed.h"

View File

@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#if !DEVICE_WATCHDOG #if !DEVICE_WATCHDOG

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#include "mbed.h" #include "mbed.h"
#include "mbed_error.h" #include "mbed_error.h"

View File

@ -19,7 +19,7 @@
#include "utest.h" #include "utest.h"
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
using namespace utest::v1; using namespace utest::v1;
@ -670,4 +670,4 @@ int main()
Harness::run(specification); Harness::run(specification);
} }
#endif #endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #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 #else
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -121,4 +121,4 @@ int main()
{ {
return !utest::v1::Harness::run(specification); return !utest::v1::Harness::run(specification);
} }
#endif #endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -20,12 +20,6 @@
#include "utest.h" #include "utest.h"
#include "ticker_api.h" #include "ticker_api.h"
#if defined(MBED_CONF_RTOS_PRESENT)
extern "C" {
#include "rtx_lib.h"
}
#endif
#include "platform/source/SysTimer.h" #include "platform/source/SysTimer.h"
#define TEST_TICKS 42 #define TEST_TICKS 42