Skip to content

Commit 5f728e1

Browse files
committed
lwip - Marked *_packet_pressure tests as "extended tests"
*_packet_pressure_parallel tests are useful for checking for synchronization errors, but push the practical limitations of the network stack. Failing these tests is not unreasonable. *_packet_pressure tests are a little bit less unreasonable, but also push the practical limitations of the network stack. Hopefully these will become stable in the near future.
1 parent 51a093d commit 5f728e1

File tree

4 files changed

+12
-0
lines changed
  • features/FEATURE_LWIP/TESTS/mbedmicro-net

4 files changed

+12
-0
lines changed

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+
#ifndef MBED_EXTENDED_TESTS
5+
#error [NOT_SUPPORTED] Pressure tests are not supported by default
6+
#endif
47

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

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+
#ifndef MBED_EXTENDED_TESTS
5+
#error [NOT_SUPPORTED] Parallel pressure tests are not supported by default
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+
#ifndef MBED_EXTENDED_TESTS
5+
#error [NOT_SUPPORTED] Pressure tests are not supported by default
6+
#endif
47

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

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+
#ifndef MBED_EXTENDED_TESTS
5+
#error [NOT_SUPPORTED] Parallel pressure tests are not supported by default
6+
#endif
47

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

0 commit comments

Comments
 (0)