Commit Graph

141 Commits (fe983090637c36e489ba663e52eb0da83bb193a2)

Author SHA1 Message Date
MarceloSalazar 51c2484c06 Remove LPC1769 target 2020-04-30 09:56:32 +01:00
MarceloSalazar 5dcfe57c41 Remove LPC4088 based targets 2020-04-30 09:56:32 +01:00
Marcelo Salazar ee8231ab9d Remove USI_WM_BN_BM_22 based targets 2020-04-20 16:55:35 +01:00
Martin Kojtal fef75b3b52
Merge pull request #12731 from kivaisan/fix_socketaddress_verification
Testing: Fix multihoming test compilation issues
2020-04-15 09:21:18 +02:00
MarceloSalazar a15f6a43ad General clean-up of unsupported targets 2020-04-09 15:36:21 +01:00
MarceloSalazar e43ece13aa Rename EMW3166 target 2020-04-09 15:32:41 +01:00
Kimmo Vaisanen 9913f25d2a Testing: Add missing TRACE_GROUP for multihoming tests 2020-04-01 08:32:06 +03:00
Kimmo Vaisanen 692aafc80c Testing: Fix SocketAddress compare
TEST_ASSERT_EQUAL compares int values and converting SocketAddress as int is not supported.
2020-03-31 16:39:26 +03:00
Martin Kojtal fea7c1abef
Merge pull request #12472 from praveenCY/pr/wpa3_support_merge
Add WPA3 support in mbed-os for green tea tests
2020-03-31 08:32:27 +02:00
Kevin Bracey bb733f1ee8 Callback updates
* Optimise clearing by adding `nullptr` overload. This overload means
  `Callback(NULL)` or `Callback(0)` will no longer work; users must
  use `Callback(nullptr)` or `Callback()`.
* Optimise clearing by not clearing storage - increases code size of
  comparison, but that is extremely rare.
* Reduce ROM used by trivial functors - share copy/destroy code.
* Config option to force trivial functors - major ROM saving by
  eliminating the "operations" table.
* Config option to eliminate comparison altogether - minor ROM saving by
  eliminating zero padding.
* Conform more to `std::function` API.
2020-03-11 15:46:03 +02:00
Praveen babu chandran 8b97e4c3ef Add WPA3 support for green tea tests 2020-02-25 10:14:30 -08:00
David Lin 7f1443de88
Fixed macro error in emac_util.cpp
Fixed macro spelling error:  INVALID_LENGHT-> INVALID_LENGHT
2020-02-24 23:43:07 +08:00
David Lin 5965985734
Fixed macro error in emac_util.h
INVALID_LENGHT -> INVALID_LENGTH
2020-02-24 23:33:30 +08:00
Michal Paszta 39fd30e46f Tests: add missing mbed_trace.h multihoming header 2020-01-24 09:21:07 +02:00
Ari Parkkila 031d90a3ce Fix UDP socket test cases
Fix UDP socket test cases to check more strictly on failure,
and lower trace levels to not print errors on successful cases.
2020-01-17 01:24:51 -08:00
Michal Paszta 92e237414e Modify multihoming tests to use get_ip_address_if 2019-12-12 09:20:33 +02:00
Marcin Tomczyk 0693da6e2b ONME-4366 - Fix UBLOX_EVK_ODIN_W2 fails in emac tests due to heap memory allocation failure. Increse event queue and free allocated buffer if cannot post packet to event queue. 2019-12-04 01:11:06 -08:00
Michal Paszta ea04c4f85e Remove internal usage of deprecated APIs in IPCore
Updated:
* netsocket classes,
* unittests, stubs and mocks,
* greentea tests
2019-11-27 20:02:20 +02:00
Martin Kojtal 38a8c0e28f
Merge pull request #11914 from michalpasztamobica/refactor_string_based_apis
Deprecate string-based APIs in IPCore
2019-11-22 12:00:56 +01:00
Michal Paszta fd5b4b9119 Deprecate string-based APIs in IPCore
MBED_DEPRECATE macros is added to string-based APIs.
New, non-string-based APIs are added in their place.
Wiced binaries rebuilt
Any existing stubs or mocks are adjusted to compile and run with the newly added non-string based functions.
2019-11-22 11:31:12 +02:00
Ari Parkkila 4e853bbaa3 TESTS: Allow ipv6_link_local_address() as unsupported 2019-11-19 05:54:16 -08:00
Martin Kojtal 97a7466e54
Merge pull request #11841 from AriParkkila/wifi-reorder
WiFi: Re-order Greentea tests with minor fixes
2019-11-15 18:33:11 +01:00
Martin Kojtal 09c24507c3
Merge pull request #11824 from rajkan01/feature-baremetal-greentea-net
Skip Bare Metal green tea test for Network component
2019-11-12 11:09:46 +01:00
Ari Parkkila ad1107ef54 WiFi: Re-order Greentea tests with minor fixes
Run WIFI-GET-RSSI and WIFI-CONNECT-DISCONNECT-REPEAT tests in secure mode
Remove WIFI-CONNECT-PARAMS-VALID-UNSECURE, it's duplicate to WIFI_CONNECT with remains moved to WIFI-CONNECT-SECURE
2019-11-11 22:49:01 -08:00
RAJKUMAR KANAGARAJ a682fde31c Incorporated review comments 2019-11-11 05:01:23 -08:00
Kimmo Vaisanen dfa96924da Fix flag checks to allow disabling unsecure tests
Now unsecure tests can be disabled by just removing MBED_CONF_APP_WIFI_UNSECURE_SSID
configuration from json.
2019-11-07 12:17:01 +02:00
RAJKUMAR KANAGARAJ c9eb48a0c5 Netsocket,lora,cellular,nework test case requires RTOS so MBED_CONF_RTOS_PRESENT guard to all test cases 2019-11-06 04:06:11 -08:00
Jayasankar Nara cb51fa57e2 Add API to get ipv6 link local address.
Protocols like mdns requires IPv6 link local address to be advertised in its
records (AAAA record). LWIP::Interface::bringup() API is creating IPv6 link
local address;But as of now there is no API exposed by mbed-os to get the
IPv6 link local address.

This new API is required to deliver mDNS library support on mbed-os for Cypress
platforms. Unit tested it by invoking get_ipv6_link_local_address with a simple
application.
2019-11-01 03:43:36 +05:30
Martin Kojtal befc833744
Merge pull request #11547 from mtomczykmobica/ONME-4366
Fix for UBLOX_EVK_ODIN_W2 fails in emac test.
2019-10-15 13:16:36 +08:00
Marcin Tomczyk b27565db8d Disable emac multicast filtering for unimplemented/unsupported/unworking boards 2019-10-14 03:54:23 -07:00
Antti Kauppila f0eba17ca2 Added missing include 2019-09-30 14:50:26 +03:00
Antti Kauppila 6adc2440a3 DNS manual cleanup mechanism added 2019-09-20 10:20:48 +03:00
Michal Paszta 9ce69b6f7d Fix compilation warnings from GCC 2019-09-16 12:11:26 +03:00
Dominika Maziec f5ccbe7972 esp8266 nonblocking connect/disconnect
`ESP8266Interface::connect()` and `ESP8266Interface::disconnect()` can be used in terms of asynchronous operations. Mainly, it is based on newly added private variable of type  `esp_connection_software_status` which is used to keep tracking of state of connection.`wifi_connect_nonblock` test was renamed and amended to test both `connect()` and `disconnect()` operation
2019-09-10 09:37:46 +02:00
Dominika Maziec 8f4a865db0 Greentea testing wifi connect nonblocked 2019-08-20 15:53:23 +02:00
int_szyk ae6f8be146 Newline at the end of files 2019-08-01 08:44:58 +02:00
int_szyk a8d8bd6c18 Astyle 2019-07-31 12:27:41 +02:00
int_szyk 8b68a1ea58 Updated testcases 2019-07-31 10:46:38 +02:00
Kevin Bracey a522dcfa0a Replace deprecated wait calls 2019-07-15 10:13:50 +03:00
Teppo Järvelin 2b9e1f3982 Fix networkinterface non-blocking status test
Fix was to add some time between iterations connect-disconnect.
In cellular disconnect, cellular network may send disconnect events
and if those events come when connect is already ongoing test will fail.
So wait a bit after disconnect so that disconnect events should be over.
2019-06-06 09:04:44 +03:00
Kevin Bracey 2fbbd9d2ca Introduce Semaphore::acquire methods
Deprecate wait() in favour of acquire(), try_acquire(),
try_acquire_for() and try_acquire_until().

Brings Semaphore more into line with CMSIS-RTOS 2 (which uses "acquire"),
itself (as it has "release"), and other classes having "try", "try for"
and "try until".

Also steps away from vague "wait" term - the primary operation here is
to acquire the semaphore, and this will of course sleep.
2019-05-28 17:02:06 +03:00
Martin Kojtal 0b7d9af4dd
Merge pull request #10385 from michalpasztamobica/wifi_test_readme
README file for wifi tests gives configuration example
2019-04-16 09:10:26 +01:00
Michal Paszta e87d0ce654 README file for wifi tests gives configuration example. 2019-04-12 11:36:28 +03:00
Tymoteusz Bloch 42b5680697 Multihoming fixed according to new LWIP implementation. 2019-04-11 20:54:48 -05:00
Mirela Chirica d15bcfe83a Cellular: Fix network interface test for cellular targets 2019-03-15 15:29:46 +02:00
Tymoteusz Bloch f420a5551d Fix multihoming tests for case of no ethernet device 2019-03-04 11:25:56 +01:00
kegilbert 194fa129fb Update recently added previous macro name uses in tests 2019-03-01 13:53:47 -06:00
Martin Kojtal dbd92c746b
Merge pull request #9387 from tymoteuszblochmobica/Sockets
Multihoming initial release
2019-02-21 13:50:03 +01:00
Tymoteusz Bloch 641189c357 Multihoming change parameter orded in gethostbyname 2019-02-20 14:37:33 +02:00
Martin Kojtal 7f4475d924
Merge pull request #9736 from 0xc0170/fix_licenses_files
tools/test/cmsis: add license header
2019-02-20 09:38:55 +01:00