Skip to content

Commit bbcf8de

Browse files
committed
lwip - Filtered network tests based on DEVICE_EMAC
Currently DEVICE_EMAC is incompatible with the EthernetInterface
1 parent 5f728e1 commit bbcf8de

File tree

12 files changed

+31
-3
lines changed

12 files changed

+31
-3
lines changed

features/FEATURE_LWIP/TESTS/mbedmicro-net/connectivity/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
#if !FEATURE_LWIP
2+
#error [NOT_SUPPORTED] LWIP not supported for this target
3+
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
7+
18
#include "mbed.h"
29
#include "greentea-client/test_env.h"
310
#include "unity.h"

features/FEATURE_LWIP/TESTS/mbedmicro-net/gethostbyname/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if !FEATURE_LWIP
2+
#error [NOT_SUPPORTED] LWIP not supported for this target
3+
#endif
14
#if DEVICE_EMAC
25
#error [NOT_SUPPORTED] Not supported for WiFi targets
36
#endif

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_echo/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4-
54
#if DEVICE_EMAC
65
#error [NOT_SUPPORTED] Not supported for WiFi targets
76
#endif

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_echo_parallel/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
47

58
#include "mbed.h"
69
#include "EthernetInterface.h"

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_hello_world/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4-
54
#if DEVICE_EMAC
65
#error [NOT_SUPPORTED] Not supported for WiFi targets
76
#endif

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_packet_pressure/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
47
#ifndef MBED_EXTENDED_TESTS
58
#error [NOT_SUPPORTED] Pressure tests are not supported by default
69
#endif

features/FEATURE_LWIP/TESTS/mbedmicro-net/tcp_packet_pressure_parallel/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
47
#ifndef MBED_EXTENDED_TESTS
58
#error [NOT_SUPPORTED] Parallel pressure tests are not supported by default
69
#endif

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_dtls_handshake/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
47

58
#include "mbed.h"
69
#include "EthernetInterface.h"

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_echo/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4-
54
#if DEVICE_EMAC
65
#error [NOT_SUPPORTED] Not supported for WiFi targets
76
#endif

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_echo_parallel/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
47

58
#include "mbed.h"
69
#include "EthernetInterface.h"

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_packet_pressure/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
47
#ifndef MBED_EXTENDED_TESTS
58
#error [NOT_SUPPORTED] Pressure tests are not supported by default
69
#endif

features/FEATURE_LWIP/TESTS/mbedmicro-net/udp_packet_pressure_parallel/main.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#if !FEATURE_LWIP
22
#error [NOT_SUPPORTED] LWIP not supported for this target
33
#endif
4+
#if DEVICE_EMAC
5+
#error [NOT_SUPPORTED] Not supported for WiFi targets
6+
#endif
47
#ifndef MBED_EXTENDED_TESTS
58
#error [NOT_SUPPORTED] Parallel pressure tests are not supported by default
69
#endif

0 commit comments

Comments
 (0)