-New PR for PSA,Netsocket,storage components,reverted all the changes to back to original

-Change the #error description more precisely
 -Separated the MBED_CONF_RTOS_PRESENT guarded
pull/11721/head
RAJKUMAR KANAGARAJ 2019-11-05 10:52:32 -08:00
parent 302f595c28
commit b1731ce3c8
111 changed files with 144 additions and 307 deletions

View File

@ -13,9 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] LORADIO tests are not enabled for Bare Metal.
#else
#include "utest.h" #include "utest.h"
#include "unity.h" #include "unity.h"
@ -287,4 +284,3 @@ int main()
} }
#endif // (MBED_CONF_APP_LORA_RADIO == SX1272) || (MBED_CONF_APP_LORA_RADIO == SX1276) #endif // (MBED_CONF_APP_LORA_RADIO == SX1272) || (MBED_CONF_APP_LORA_RADIO == SX1276)
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -13,9 +13,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Low power timer test cases requires RTOS to run.
#else
#if !DEVICE_LPTICKER || !defined(MBED_CONF_RTOS_PRESENT) #if !DEVICE_LPTICKER
#error [NOT_SUPPORTED] Low power timer test cases are not supported. #error [NOT_SUPPORTED] Low power timer not supported for this target
#else #else
#include "mbed.h" #include "mbed.h"
@ -95,3 +98,4 @@ int main()
} }
#endif // !DEVICE_LPTICKER #endif // !DEVICE_LPTICKER
#endif //!defined(MBED_CONF_RTOS_PRESENT)

View File

@ -13,14 +13,19 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] usticker test requires RTOS to run.
#else
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "utest/utest.h" #include "utest/utest.h"
#include "unity/unity.h" #include "unity/unity.h"
#include "timeout_tests.h" #include "timeout_tests.h"
#if !DEVICE_USTICKER || !defined(MBED_CONF_RTOS_PRESENT) #if !DEVICE_USTICKER
#error [NOT_SUPPORTED] usticker test not supported. #error [NOT_SUPPORTED] usticker not supported for this target.
#else #else
using namespace utest::v1; using namespace utest::v1;
@ -89,3 +94,4 @@ int main()
} }
#endif // !DEVICE_USTICKER #endif // !DEVICE_USTICKER
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_USTICKER || !defined(MBED_CONF_RTOS_PRESENT) #if !DEVICE_USTICKER || !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] usticker test not supported. #error [NOT_SUPPORTED] usticker test case requires RTOS to run and also usticker needs to be enabled for this target.
#else #else
#include "mbed.h" #include "mbed.h"

View File

@ -14,8 +14,13 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_WATCHDOG || !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Watchdo test not supported. #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Watchdog test cases requires RTOS to run.
#else
#if !DEVICE_WATCHDOG
#error [NOT_SUPPORTED] Watchdog not supported for this target
#else #else
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -284,3 +289,4 @@ int main()
} }
#endif // !DEVICE_WATCHDOG #endif // !DEVICE_WATCHDOG
#endif // !defined(MBED_CONG_RTOS_PRESENT)

View File

@ -14,8 +14,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_WATCHDOG || !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Watchdog reset test not supported. #error [NOT_SUPPORTED] Watchdog reset test cases requires RTOS to run.
#else
#if !DEVICE_WATCHDOG
#error [NOT_SUPPORTED] Watchdog not supported for this target
#else #else
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -334,3 +338,4 @@ int main()
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // !DEVICE_WATCHDOG #endif // !DEVICE_WATCHDOG
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_USTICKER || !defined(MBED_RTOS_CONF_PRESENT) #if !defined(MBED_RTOS_CONF_PRESENT)
#error [NOT_SUPPORTED] test not supported #error [NOT_SUPPORTED] usticker test cases requires RTOS to run
#else #else
#include "mbed.h" #include "mbed.h"
@ -35,6 +35,9 @@ extern "C" {
} }
#endif // __cplusplus #endif // __cplusplus
#if !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported
#else
#define US_PER_S 1000000 #define US_PER_S 1000000
@ -607,4 +610,5 @@ int main()
{ {
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // !DEVICE_USTICKER || !defined(MBED_RTOS_CONF_PRESENT) #endif // !DEVICE_USTICKER
#endif // !defined(MBED_RTOS_CONF_PRESENT)

View File

@ -20,6 +20,9 @@
* freqency is valid. * freqency is valid.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] common tickers frequency test cases requires RTOS to run.
#else
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -30,7 +33,7 @@
#include "hal/lp_ticker_api.h" #include "hal/lp_ticker_api.h"
#include "hal/mbed_lp_ticker_wrapper.h" #include "hal/mbed_lp_ticker_wrapper.h"
#if defined(SKIP_TIME_DRIFT_TESTS) || !DEVICE_USTICKER || !defined(MBED_CONF_RTOS_PRESENT) #if defined(SKIP_TIME_DRIFT_TESTS) || !DEVICE_USTICKER
#error [NOT_SUPPORTED] test not supported #error [NOT_SUPPORTED] test not supported
#else #else
@ -205,4 +208,5 @@ int main()
Harness::run(specification); Harness::run(specification);
} }
#endif // defined(SKIP_TIME_DRIFT_TESTS) || !DEVICE_USTICKER || !defined(MBED_RTOS_CONF_PRESENT) #endif // defined(SKIP_TIME_DRIFT_TESTS) || !DEVICE_USTICKER
#endif // !defined(MBED_RTOS_CONF_PRESENT)

View File

@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_LPTICKER || !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Low power timer test not supported. #error [NOT_SUPPORTED] Low power timer test cases requires RTOS to run.
#else #else
#include "mbed.h" #include "mbed.h"
@ -28,7 +28,9 @@
#include "hal/mbed_lp_ticker_wrapper.h" #include "hal/mbed_lp_ticker_wrapper.h"
#include "hal/us_ticker_api.h" #include "hal/us_ticker_api.h"
#if !DEVICE_LPTICKER
#error [NOT_SUPPORTED] Low power timer not supported for this target
#else
using namespace utest::v1; using namespace utest::v1;
@ -209,4 +211,5 @@ int main()
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // !DEVICE_LPTICKER || !defined(MBED_CONF_RTOS_PRESENT) #endif // !DEVICE_LPTICKER
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,8 +14,12 @@
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_SLEEP || !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] sleep not supported for this target and also for bare metal. #error [NOT_SUPPORTED] sleep test cases requires RTOS to run.
#else
#if !DEVICE_SLEEP
#error [NOT_SUPPORTED] sleep not supported for this target
#else #else
#include "mbed.h" #include "mbed.h"
@ -262,4 +266,5 @@ int main()
Harness::run(specification); Harness::run(specification);
} }
#endif // !DEVICE_SLEEP || !defined(MBED_CONF_RTOS_PRESENT) #endif // !DEVICE_SLEEP
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -13,6 +13,10 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] sleep manager test cases requires RTOS to run.
#else
#include "utest/utest.h" #include "utest/utest.h"
#include "unity/unity.h" #include "unity/unity.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -23,7 +27,7 @@
#include "../sleep/sleep_test_utils.h" #include "../sleep/sleep_test_utils.h"
#include "sleep_manager_api_tests.h" #include "sleep_manager_api_tests.h"
#if !DEVICE_SLEEP || !defined(MBED_CONF_RTOS_PRESENT) #if !DEVICE_SLEEP
#error [NOT_SUPPORTED] test not supported #error [NOT_SUPPORTED] test not supported
#else #else
@ -335,4 +339,5 @@ int main()
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // !DEVICE_SLEEP || !defined(MBED_CONF_RTOS_PRESENT) #endif // !DEVICE_SLEEP
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -15,13 +15,17 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] stack size unification test cases requires RTOS to run.
#else
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
#include "utest.h" #include "utest.h"
#if defined(TARGET_RENESAS) || !defined(MBED_CONF_RTOS_PRESENT) #ifdef TARGET_RENESAS
#error [NOT_SUPPORTED] Cortex-A target and bare metal not supported for this test #error [NOT_SUPPORTED] Cortex-A target not supported for this test
#else #else
using namespace utest::v1; using namespace utest::v1;
@ -75,4 +79,5 @@ int main()
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // TARGET_RENESAS || !defined(MBED_CONF_RTOS_PRESENT) #endif // TARGET_RENESAS
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,8 +14,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_WATCHDOG || !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Watchdog test not supported. #error [NOT_SUPPORTED] Watchdog test cases requires RTOS to run.
#else
#if !DEVICE_WATCHDOG
#error [NOT_SUPPORTED] Watchdog not supported for this target
#else #else
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -284,4 +288,5 @@ int main()
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // !DEVICE_WATCHDOG || !defined(MBED_CONF_RTOS_PRESENT) #endif // !DEVICE_WATCHDOG
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,8 +14,12 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !DEVICE_WATCHDOG || !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Watchdog test not supported. #error [NOT_SUPPORTED] Watchdog reset test cases requires RTOS to run.
#else
#if !DEVICE_WATCHDOG
#error [NOT_SUPPORTED] Watchdog not supported for this target
#else #else
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -320,4 +324,5 @@ int main()
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // !DEVICE_WATCHDOG || !defined(MBED_CONF_RTOS_PRESENT) #endif // !DEVICE_WATCHDOG
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -13,16 +13,19 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !MBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED || !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] crash_reporting test not supported #error [NOT_SUPPORTED] crash_reporting test cases requires RTOS to run.
#else #else
#include "mbed.h" #include "mbed.h"
#include "mbed_error.h" #include "mbed_error.h"
#include "mbed_crash_data_offsets.h" #include "mbed_crash_data_offsets.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity/unity.h" #include "unity/unity.h"
#if !MBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED
#error [NOT_SUPPORTED] crash_reporting test not supported
#else
#define MSG_VALUE_DUMMY "0" #define MSG_VALUE_DUMMY "0"
#define MSG_VALUE_LEN 32 #define MSG_VALUE_LEN 32
#define MSG_KEY_LEN 64 #define MSG_KEY_LEN 64
@ -79,4 +82,5 @@ int main(void)
return 0; return 0;
} }
#endif // !MBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED || !defined(MBED_CONF_RTOS_PRESENT) #endif // !MBED_CONF_PLATFORM_CRASH_CAPTURE_ENABLED
#endif // !defined(MBED_CONF_RTOS_PRESENT)

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] test not supported #error [NOT_SUPPORTED] MemoryPool test cases requires RTOS to run.
#else #else
using namespace utest::v1; using namespace utest::v1;

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] test not supported #error [NOT_SUPPORTED] kernel tick count test cases requires RTOS to run.
#else #else
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"

View File

@ -20,7 +20,7 @@
#include "utest.h" #include "utest.h"
#include "ticker_api.h" #include "ticker_api.h"
#if !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] test not supported #error [NOT_SUPPORTED] systimer test cases requires RTOS to run.
#else #else
extern "C" { extern "C" {

View File

@ -18,9 +18,7 @@
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
#include "utest.h" #include "utest.h"
#if defined(MBED_CONF_RTOS_PRESENT)
#include "rtos.h" #include "rtos.h"
#endif
using namespace utest::v1; using namespace utest::v1;

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -42,4 +40,3 @@ void ASYNCHRONOUS_DNS()
TEST_ASSERT_EQUAL(0, result_dns_failure); TEST_ASSERT_EQUAL(0, result_dns_failure);
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
#endif

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -67,4 +66,3 @@ void ASYNCHRONOUS_DNS_CACHE()
dns_test_hosts[0], data.addr.get_ip_address(), delay_ms); dns_test_hosts[0], data.addr.get_ip_address(), delay_ms);
} }
} }
#endif

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -87,4 +86,3 @@ void ASYNCHRONOUS_DNS_CANCEL()
ThisThread::sleep_for(5000); ThisThread::sleep_for(5000);
} }
#endif // #if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -77,4 +76,3 @@ void ASYNCHRONOUS_DNS_EXTERNAL_EVENT_QUEUE()
nsapi_dns_call_in_set(0); nsapi_dns_call_in_set(0);
} }
#endif // defined(MBED_CONF_RTOS_PRESENT)

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -66,4 +64,3 @@ void ASYNCHRONOUS_DNS_INVALID_HOST()
TEST_ASSERT(result_dns_failure == exp_dns_failure || result_dns_failure == exp_dns_failure + 1); TEST_ASSERT(result_dns_failure == exp_dns_failure || result_dns_failure == exp_dns_failure + 1);
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
#endif // defined(MBED_CONF_RTOS_PRESENT)

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -58,4 +56,3 @@ void ASYNCHRONOUS_DNS_NON_ASYNC_AND_ASYNC()
TEST_ASSERT(strlen(data.addr.get_ip_address()) > 1); TEST_ASSERT(strlen(data.addr.get_ip_address()) > 1);
} }
#endif // defined(MBED_CONF_RTOS_PRESENT)

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -43,4 +41,3 @@ void ASYNCHRONOUS_DNS_SIMULTANEOUS()
TEST_ASSERT_EQUAL(0, result_dns_failure); TEST_ASSERT_EQUAL(0, result_dns_failure);
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
#endif

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -44,4 +42,3 @@ void ASYNCHRONOUS_DNS_SIMULTANEOUS_CACHE()
TEST_ASSERT_EQUAL(0, result_dns_failure); TEST_ASSERT_EQUAL(0, result_dns_failure);
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
#endif

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -46,4 +44,3 @@ void ASYNCHRONOUS_DNS_SIMULTANEOUS_REPEAT()
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
} }
#endif

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -71,4 +69,3 @@ void ASYNCHRONOUS_DNS_TIMEOUTS()
nsapi_dns_call_in_set(0); nsapi_dns_call_in_set(0);
} }
#endif // defined(MBED_CONF_RTOS_PRESENT)

View File

@ -17,7 +17,6 @@
#ifndef DNS_TESTS_H #ifndef DNS_TESTS_H
#define DNS_TESTS_H #define DNS_TESTS_H
#if defined(MBED_CONF_RTOS_PRESENT)
#include "nsapi_dns.h" #include "nsapi_dns.h"
@ -93,5 +92,4 @@ void SYNCHRONOUS_DNS();
void SYNCHRONOUS_DNS_MULTIPLE(); void SYNCHRONOUS_DNS_MULTIPLE();
void SYNCHRONOUS_DNS_CACHE(); void SYNCHRONOUS_DNS_CACHE();
void SYNCHRONOUS_DNS_INVALID(); void SYNCHRONOUS_DNS_INVALID();
#endif /* defined(MBED_CONF_RTOS_PRESENT) */
#endif #endif

View File

@ -15,10 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] Test not supported.
#else
#define WIFI 2 #define WIFI 2
#if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \ #if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \
(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
@ -219,4 +215,3 @@ int main()
} }
#endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) #endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -41,4 +40,3 @@ void SYNCHRONOUS_DNS()
TEST_ASSERT_EQUAL(0, result_dns_failure); TEST_ASSERT_EQUAL(0, result_dns_failure);
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
#endif

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -56,4 +54,3 @@ void SYNCHRONOUS_DNS_CACHE()
dns_test_hosts[0], address.get_ip_address(), delay_ms); dns_test_hosts[0], address.get_ip_address(), delay_ms);
} }
} }
#endif

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity.h" #include "unity.h"
@ -61,4 +59,3 @@ void SYNCHRONOUS_DNS_INVALID()
TEST_ASSERT_EQUAL(expected_failures, result_dns_failure); TEST_ASSERT_EQUAL(expected_failures, result_dns_failure);
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
#endif

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -41,4 +40,3 @@ void SYNCHRONOUS_DNS_MULTIPLE()
TEST_ASSERT_EQUAL(0, result_dns_failure); TEST_ASSERT_EQUAL(0, result_dns_failure);
TEST_ASSERT_EQUAL(0, result_exp_timeout); TEST_ASSERT_EQUAL(0, result_exp_timeout);
} }
#endif

View File

@ -15,10 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] NVSTORE needs to be enabled for this test
#else
#define WIFI 2 #define WIFI 2
#if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \ #if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \
(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
@ -244,4 +240,3 @@ int main()
#endif // ECHO_SERVER_ADDR #endif // ECHO_SERVER_ADDR
#endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) #endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -17,7 +17,6 @@
#ifndef TCP_TESTS_H #ifndef TCP_TESTS_H
#define TCP_TESTS_H #define TCP_TESTS_H
#if defined(MBED_CONF_RTOS_PRESENT)
#include "../test_params.h" #include "../test_params.h"
@ -89,4 +88,3 @@ void TCPSOCKET_THREAD_PER_SOCKET_SAFETY();
void TCPSOCKET_SETSOCKOPT_KEEPALIVE_VALID(); void TCPSOCKET_SETSOCKOPT_KEEPALIVE_VALID();
#endif //TCP_TESTS_H #endif //TCP_TESTS_H
#endif //!defined(MBED_CONF_RTOS_PRESENT)

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -44,4 +43,3 @@ void TCPSOCKET_BIND_ADDRESS()
delete sock; delete sock;
} }
#endif

View File

@ -15,8 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -51,4 +49,3 @@ void TCPSOCKET_BIND_ADDRESS_INVALID()
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -43,4 +42,3 @@ void TCPSOCKET_BIND_ADDRESS_NULL()
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -43,4 +42,3 @@ void TCPSOCKET_BIND_ADDRESS_PORT()
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -43,4 +42,3 @@ void TCPSOCKET_BIND_PORT()
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -53,4 +52,3 @@ void TCPSOCKET_BIND_PORT_FAIL()
delete sock; delete sock;
delete sock2; delete sock2;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -42,4 +41,3 @@ void TCPSOCKET_BIND_UNOPENED()
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -52,4 +51,3 @@ void TCPSOCKET_BIND_WRONG_TYPE()
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -38,4 +37,3 @@ void TCPSOCKET_CONNECT_INVALID()
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -202,4 +201,3 @@ END:
tc_exec_time.stop(); tc_exec_time.stop();
free(stack_mem); free(stack_mem);
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -142,4 +141,3 @@ void TCPSOCKET_ECHOTEST_BURST_NONBLOCK()
END: END:
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -89,4 +88,3 @@ void TCPSOCKET_ENDPOINT_CLOSE()
tc_exec_time.stop(); tc_exec_time.stop();
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -39,4 +38,3 @@ void TCPSOCKET_OPEN_CLOSE_REPEAT()
} }
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -37,4 +36,3 @@ void TCPSOCKET_OPEN_DESTRUCT()
delete sock; delete sock;
} }
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -97,4 +96,3 @@ void TCPSOCKET_OPEN_LIMIT()
TEST_ASSERT_EQUAL(open_sockets[0], open_sockets[1]); TEST_ASSERT_EQUAL(open_sockets[0], open_sockets[1]);
TEST_ASSERT(open_sockets[0] >= 4); TEST_ASSERT(open_sockets[0] >= 4);
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "mbed.h" #include "mbed.h"
#include "tcp_tests.h" #include "tcp_tests.h"
@ -38,4 +37,3 @@ void TCPSOCKET_OPEN_TWICE()
delete sock; delete sock;
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -196,4 +195,3 @@ void TCPSOCKET_RECV_100K_NONBLOCK()
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -89,4 +88,3 @@ CLEANUP:
tc_exec_time.stop(); tc_exec_time.stop();
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -44,4 +43,3 @@ void TCPSOCKET_SEND_REPEAT()
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -53,4 +52,3 @@ void TCPSOCKET_SEND_TIMEOUT()
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -50,4 +49,3 @@ void TCPSOCKET_SETSOCKOPT_KEEPALIVE_VALID()
// TEST_ASSERT_EQUAL(optval, seconds); // TEST_ASSERT_EQUAL(optval, seconds);
TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close()); TEST_ASSERT_EQUAL(NSAPI_ERROR_OK, sock.close());
} }
#endif

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "TCPSocket.h" #include "TCPSocket.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -168,4 +167,3 @@ void TCPSOCKET_THREAD_PER_SOCKET_SAFETY()
running = false; running = false;
thread.join(); thread.join();
} }
#endif

View File

@ -15,9 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] test not supported
#else
#define WIFI 2 #define WIFI 2
#if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \ #if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \
(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
@ -254,4 +251,3 @@ int main()
#endif // ECHO_SERVER_ADDR #endif // ECHO_SERVER_ADDR
#endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) #endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -17,7 +17,6 @@
#ifndef TLS_TESTS_H #ifndef TLS_TESTS_H
#define TLS_TESTS_H #define TLS_TESTS_H
#if defined(MBED_CONF_RTOS_PRESENT)
#include "../test_params.h" #include "../test_params.h"
#include "TLSSocket.h" #include "TLSSocket.h"
@ -84,5 +83,5 @@ void TLSSOCKET_SIMULTANEOUS();
void TLSSOCKET_SEND_TIMEOUT(); void TLSSOCKET_SEND_TIMEOUT();
#endif // defined(MBEDTLS_SSL_CLI_C) || defined(DOXYGEN_ONLY) #endif // defined(MBEDTLS_SSL_CLI_C) || defined(DOXYGEN_ONLY)
#endif
#endif //TLS_TESTS_H #endif //TLS_TESTS_H

View File

@ -15,10 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] test not supported.
#else
#define WIFI 2 #define WIFI 2
#if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \ #if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \
(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
@ -208,4 +204,3 @@ int main()
#endif // ECHO_SERVER_ADDR #endif // ECHO_SERVER_ADDR
#endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) #endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
@ -554,4 +554,3 @@ EmacTestMemoryManager &EmacTestMemoryManager::get_instance()
return test_memory_manager; return test_memory_manager;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -17,7 +17,6 @@
#ifndef EMAC_TEST_MEMORY_MANAGER_H #ifndef EMAC_TEST_MEMORY_MANAGER_H
#define EMAC_TEST_MEMORY_MANAGER_H #define EMAC_TEST_MEMORY_MANAGER_H
#if defined(MBED_CONF_RTOS_PRESENT)
#include <list> #include <list>
@ -226,5 +225,5 @@ private:
unsigned int m_alloc_unit; unsigned int m_alloc_unit;
bool m_memory_available; bool m_memory_available;
}; };
#endif /* #if defined(MBED_CONF_RTOS_PRESENT) */
#endif /* EMAC_TEST_MEMORY_MANAGER_H */ #endif /* EMAC_TEST_MEMORY_MANAGER_H */

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "unity.h" #include "unity.h"
@ -203,5 +202,4 @@ OnboardNetworkStack &OnboardNetworkStack::get_default_instance()
{ {
return EmacTestNetworkStack::get_instance(); return EmacTestNetworkStack::get_instance();
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)
#endif #endif

View File

@ -17,7 +17,6 @@
#ifndef EMAC_TEST_NETWORK_STACK_H #ifndef EMAC_TEST_NETWORK_STACK_H
#define EMAC_TEST_NETWORK_STACK_H #define EMAC_TEST_NETWORK_STACK_H
#if defined(MBED_CONF_RTOS_PRESENT)
#include "netsocket/nsapi_types.h" #include "netsocket/nsapi_types.h"
#include "netsocket/EMAC.h" #include "netsocket/EMAC.h"
@ -388,5 +387,5 @@ private:
Interface *m_interface; Interface *m_interface;
}; };
#endif /* #if defined(MBED_CONF_RTOS_PRESENT) */
#endif /* EMAC_TEST_NETWORK_STACK_H */ #endif /* EMAC_TEST_NETWORK_STACK_H */

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
#include "unity/unity.h" #include "unity/unity.h"
#include "utest.h" #include "utest.h"
@ -149,5 +149,5 @@ void emac_if_ctp_msg_build(int eth_frame_len, const unsigned char *dest_addr, co
emac_if_get()->link_out(buf); emac_if_get()->link_out(buf);
emac_if_check_memory(false); emac_if_check_memory(false);
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -17,7 +17,7 @@
#ifndef EMAC_CTP_H #ifndef EMAC_CTP_H
#define EMAC_CTP_H #define EMAC_CTP_H
#if defined(MBED_CONF_RTOS_PRESENT)
enum ctp_function { enum ctp_function {
CTP_NONE, CTP_NONE,
CTP_FORWARD, CTP_FORWARD,
@ -37,5 +37,5 @@ enum ctp_function {
ctp_function emac_if_ctp_header_handle(unsigned char *eth_input_frame, unsigned char *eth_output_frame, unsigned char *origin_addr, int *receipt_number); ctp_function emac_if_ctp_header_handle(unsigned char *eth_input_frame, unsigned char *eth_output_frame, unsigned char *origin_addr, int *receipt_number);
void emac_if_ctp_msg_build(int eth_frame_len, const unsigned char *dest_addr, const unsigned char *origin_addr, const unsigned char *forward_addr, int options); void emac_if_ctp_msg_build(int eth_frame_len, const unsigned char *dest_addr, const unsigned char *origin_addr, const unsigned char *forward_addr, int options);
void emac_if_ctp_reply_handle(int lenght, int invalid_data_index); void emac_if_ctp_reply_handle(int lenght, int invalid_data_index);
#endif /* #if defined(MBED_CONF_RTOS_PRESENT) */
#endif /* EMAC_CTP_H */ #endif /* EMAC_CTP_H */

View File

@ -17,11 +17,10 @@
#ifndef EMAC_INITIALIZE_H #ifndef EMAC_INITIALIZE_H
#define EMAC_INITIALIZE_H #define EMAC_INITIALIZE_H
#if defined(MBED_CONF_RTOS_PRESENT)
unsigned char *emac_if_get_hw_addr(void); unsigned char *emac_if_get_hw_addr(void);
bool emac_if_init(EMAC *emac); bool emac_if_init(EMAC *emac);
EMAC *emac_if_get(void); EMAC *emac_if_get(void);
EmacTestMemoryManager *emac_m_mngr_get(void); EmacTestMemoryManager *emac_m_mngr_get(void);
#endif /* #if defined(MBED_CONF_RTOS_PRESENT) */
#endif /* EMAC_INITIALIZE_H */ #endif /* EMAC_INITIALIZE_H */

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -76,4 +75,3 @@ void emac_if_memory_buffer_write(void *buf, unsigned char *eth_frame, bool write
} }
} }
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -17,8 +17,8 @@
#ifndef EMAC_MEMBUF_H #ifndef EMAC_MEMBUF_H
#define EMAC_MEMBUF_H #define EMAC_MEMBUF_H
#if defined(MBED_CONF_RTOS_PRESENT)
int emac_if_memory_buffer_read(void *buf, unsigned char *eth_frame); int emac_if_memory_buffer_read(void *buf, unsigned char *eth_frame);
void emac_if_memory_buffer_write(void *buf, unsigned char *eth_frame, bool write_data); void emac_if_memory_buffer_write(void *buf, unsigned char *eth_frame, bool write_data);
#endif /* #if defined(MBED_CONF_RTOS_PRESENT) */
#endif /* EMAC_MEMBUF_H */ #endif /* EMAC_MEMBUF_H */

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -100,4 +99,3 @@ void test_emac_broadcast(void)
RESET_OUTGOING_MSG_DATA; RESET_OUTGOING_MSG_DATA;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include <inttypes.h> #include <inttypes.h>
#include "mbed.h" #include "mbed.h"
@ -118,4 +117,3 @@ bool emac_if_init(EMAC *emac)
return true; return true;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -162,4 +161,3 @@ void test_emac_memory()
TEST_ASSERT_FALSE(ERROR_FLAGS); TEST_ASSERT_FALSE(ERROR_FLAGS);
RESET_OUTGOING_MSG_DATA; RESET_OUTGOING_MSG_DATA;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -172,5 +171,3 @@ void test_emac_multicast_filter()
TEST_ASSERT_FALSE(ERROR_FLAGS); TEST_ASSERT_FALSE(ERROR_FLAGS);
RESET_OUTGOING_MSG_DATA; RESET_OUTGOING_MSG_DATA;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -77,4 +76,3 @@ void test_emac_unicast()
RESET_OUTGOING_MSG_DATA; RESET_OUTGOING_MSG_DATA;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -85,5 +84,3 @@ void test_emac_unicast_burst()
TEST_ASSERT_FALSE(ERROR_FLAGS); TEST_ASSERT_FALSE(ERROR_FLAGS);
RESET_OUTGOING_MSG_DATA; RESET_OUTGOING_MSG_DATA;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -80,4 +79,3 @@ void test_emac_unicast_frame_len()
TEST_ASSERT_FALSE(ERROR_FLAGS); TEST_ASSERT_FALSE(ERROR_FLAGS);
RESET_OUTGOING_MSG_DATA; RESET_OUTGOING_MSG_DATA;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -82,4 +81,3 @@ void test_emac_unicast_long()
TEST_ASSERT_FALSE(ERROR_FLAGS); TEST_ASSERT_FALSE(ERROR_FLAGS);
RESET_OUTGOING_MSG_DATA; RESET_OUTGOING_MSG_DATA;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -17,7 +17,7 @@
#ifndef EMAC_TESTS_H #ifndef EMAC_TESTS_H
#define EMAC_TESTS_H #define EMAC_TESTS_H
#if defined(MBED_CONF_RTOS_PRESENT)
void test_emac_initialize(); void test_emac_initialize();
void test_emac_broadcast(); void test_emac_broadcast();
void test_emac_unicast(); void test_emac_unicast();
@ -26,5 +26,5 @@ void test_emac_unicast_burst();
void test_emac_unicast_long(); void test_emac_unicast_long();
void test_emac_multicast_filter(); void test_emac_multicast_filter();
void test_emac_memory(); void test_emac_memory();
#endif /* #if defined(MBED_CONF_RTOS_PRESENT) */
#endif /* EMAC_TESTS_H */ #endif /* EMAC_TESTS_H */

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -583,4 +582,3 @@ void emac_if_set_mtu_size(int mtu_size)
{ {
eth_mtu_size = mtu_size; eth_mtu_size = mtu_size;
} }
#endif //#if defined(MBED_CONF_RTOS_PRESENT)

View File

@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#ifndef EMAC_UTIL_H #ifndef EMAC_UTIL_H
#define EMAC_UTIL_H #define EMAC_UTIL_H
@ -125,5 +124,5 @@ void worker_loop_init(void);
void worker_loop_start(void (*test_step_cb_fnc)(int opt), int timeout); void worker_loop_start(void (*test_step_cb_fnc)(int opt), int timeout);
void worker_loop_end(void); void worker_loop_end(void);
void worker_loop_link_up_wait(void); void worker_loop_link_up_wait(void);
#endif /* #if defined(MBED_CONF_RTOS_PRESENT) */
#endif /* EMAC_UTIL_H */ #endif /* EMAC_UTIL_H */

View File

@ -14,9 +14,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] EMAC test cases are not supported on Bare metal
#else
#if !defined(MBED_CONF_APP_ECHO_SERVER) || \ #if !defined(MBED_CONF_APP_ECHO_SERVER) || \
!defined(MBED_CONF_APP_ECHO_SERVER_TRACE) || \ !defined(MBED_CONF_APP_ECHO_SERVER_TRACE) || \
@ -93,4 +90,3 @@ int main()
#endif // MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE != ETHERNET && MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE != WIFI #endif // MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE != ETHERNET && MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE != WIFI
#endif // !defined(MBED_CONF_APP_ECHO_SERVER) || !defined(MBED_CONF_APP_ECHO_SERVER_TRACE) || !defined(MBED_CONF_APP_WIFI_SCAN) #endif // !defined(MBED_CONF_APP_ECHO_SERVER) || !defined(MBED_CONF_APP_ECHO_SERVER_TRACE) || !defined(MBED_CONF_APP_WIFI_SCAN)
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -15,10 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] test not supported.
#else
#define WIFI 2 #define WIFI 2
#if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \ #if !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || \
(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
@ -60,4 +56,3 @@ int main()
} }
#endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID)) #endif // !defined(MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE) || (MBED_CONF_TARGET_NETWORK_DEFAULT_INTERFACE_TYPE == WIFI && !defined(MBED_CONF_NSAPI_DEFAULT_WIFI_SSID))
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -15,7 +15,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if defined(MBED_CONF_RTOS_PRESENT)
#include "mbed_interface.h" #include "mbed_interface.h"
#include "netsocket/nsapi_types.h" #include "netsocket/nsapi_types.h"
@ -113,7 +112,7 @@ MBED_WEAK L3IP &L3IP::get_default_instance()
{ {
return Cellular_driver_L3IP::get_instance(); return Cellular_driver_L3IP::get_instance();
} }
#endif
/** /**
* @} * @}
*/ */

View File

@ -17,7 +17,6 @@
#ifndef CELLULAR_DRIVER_L3IP_H_ #ifndef CELLULAR_DRIVER_L3IP_H_
#define CELLULAR_DRIVER_L3IP_H_ #define CELLULAR_DRIVER_L3IP_H_
#if defined(MBED_CONF_RTOS_PRESENT)
#include "L3IP.h" #include "L3IP.h"
@ -134,4 +133,3 @@ private:
}; };
#endif /* CELLULAR_DRIVER_L3IP_H_ */ #endif /* CELLULAR_DRIVER_L3IP_H_ */
#endif

View File

@ -14,9 +14,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] l3ip test cases are not supported on Bare metal
#else
#include "mbed.h" #include "mbed.h"
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -80,4 +78,3 @@ int main()
{ {
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif

View File

@ -16,10 +16,6 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] test not supported.
#else
#include "psa/crypto.h" #include "psa/crypto.h"
#if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C))) #if ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
@ -161,4 +157,3 @@ int main()
} }
#endif // ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C))) #endif // ((!defined(TARGET_PSA)) || (!defined(MBEDTLS_PSA_CRYPTO_C)))
#endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -16,8 +16,8 @@
* limitations under the License. * limitations under the License.
*/ */
#if !defined(TARGET_PSA) || !defined(MBED_CONF_RTOS_PRESENT) #ifndef TARGET_PSA
#error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets and RTOS. #error [NOT_SUPPORTED] ITS/PS tests can run only on PSA-enabled targets.
#else #else
#include "greentea-client/test_env.h" #include "greentea-client/test_env.h"
@ -238,4 +238,4 @@ int main()
return !Harness::run(specification); return !Harness::run(specification);
} }
#endif // TARGET_PSA || !defined(MBED_CONF_RTOS_PRESENT) #endif // TARGET_PSA

View File

@ -16,7 +16,7 @@
*/ */
#if !defined(MBED_CONF_RTOS_PRESENT) #if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] USB test cases are not supported on Bare metal #error [NOT_SUPPORTED] USB test cases requires RTOS to run.
#else #else
#include <stdio.h> #include <stdio.h>

View File

@ -487,4 +487,4 @@ int main()
} }
#endif // !defined(DEVICE_USBDEVICE) || !DEVICE_USBDEVICE #endif // !defined(DEVICE_USBDEVICE) || !DEVICE_USBDEVICE
#endif // !defined(MBED_CONF_RTOS_PRESENT) #endif // !defined(MBED_CONF_RTOS_PRESENT)

View File

@ -1,13 +1,9 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA attestation test not supported
#else
void test_entry_a001(val_api_t *val_api, psa_api_t *psa_api); void test_entry_a001(val_api_t *val_api, psa_api_t *psa_api);
int main(void) int main(void)
{ {
test_start(test_entry_a001, COMPLIANCE_TEST_ATTESTATION); test_start(test_entry_a001, COMPLIANCE_TEST_ATTESTATION);
} }
#endif

View File

@ -1,10 +1,6 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s001(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s001(val_api_t *val_api, psa_api_t *psa_api);
#elif PS_TEST #elif PS_TEST
@ -19,4 +15,3 @@ int main(void)
test_start(test_entry_p001, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p001, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

View File

@ -1,9 +1,6 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#include "lifecycle.h" #include "lifecycle.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s002(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s002(val_api_t *val_api, psa_api_t *psa_api);
@ -19,4 +16,3 @@ int main(void)
test_start(test_entry_p002, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p002, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

View File

@ -1,8 +1,5 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s004(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s004(val_api_t *val_api, psa_api_t *psa_api);
@ -18,4 +15,3 @@ int main(void)
test_start(test_entry_p004, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p004, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

View File

@ -1,10 +1,6 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s005(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s005(val_api_t *val_api, psa_api_t *psa_api);
#elif PS_TEST #elif PS_TEST
@ -19,4 +15,3 @@ int main(void)
test_start(test_entry_p005, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p005, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

View File

@ -1,10 +1,6 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s006(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s006(val_api_t *val_api, psa_api_t *psa_api);
#elif PS_TEST #elif PS_TEST
@ -19,4 +15,3 @@ int main(void)
test_start(test_entry_p006, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p006, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

View File

@ -1,10 +1,6 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s007(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s007(val_api_t *val_api, psa_api_t *psa_api);
#elif PS_TEST #elif PS_TEST
@ -19,4 +15,3 @@ int main(void)
test_start(test_entry_p007, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p007, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

View File

@ -1,10 +1,6 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s008(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s008(val_api_t *val_api, psa_api_t *psa_api);
#elif PS_TEST #elif PS_TEST
@ -19,4 +15,3 @@ int main(void)
test_start(test_entry_p008, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p008, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

View File

@ -1,10 +1,6 @@
#include "val_interfaces.h" #include "val_interfaces.h"
#include "pal_mbed_os_intf.h" #include "pal_mbed_os_intf.h"
#if !defined(MBED_CONF_RTOS_PRESENT)
#error [NOT_SUPPORTED] PSA compliance its test not supported
#else
#ifdef ITS_TEST #ifdef ITS_TEST
void test_entry_s009(val_api_t *val_api, psa_api_t *psa_api); void test_entry_s009(val_api_t *val_api, psa_api_t *psa_api);
#elif PS_TEST #elif PS_TEST
@ -19,4 +15,3 @@ int main(void)
test_start(test_entry_p009, COMPLIANCE_TEST_STORAGE); test_start(test_entry_p009, COMPLIANCE_TEST_STORAGE);
#endif #endif
} }
#endif

Some files were not shown because too many files have changed in this diff Show More