jeromecoutant
da6ad75666
WIFI test: improve debug messages
2018-12-17 15:20:02 +01:00
Martin Kojtal
0df1d49ba1
Merge pull request #8861 from VeijoPesonen/bugfix-mbedgt_wifi_scan_one_ssid
...
Bugfix-tests-network-wifi drop the assumption about more than one SSID
2018-12-03 13:34:48 +01:00
Veijo Pesonen
386915deb8
Tests-network-wifi organize test cases for clarity
2018-11-24 12:28:14 +02:00
Veijo Pesonen
50bc2e9280
Bugfix - drops the assumption that there is more than SSID in vicinity
2018-11-24 12:20:07 +02:00
Martin Kojtal
80ed251c9c
Merge branch 'fix_travis_astyle_files' of https://github.com/0xc0170/mbed-os into dev_rollup
2018-11-23 18:38:13 +00:00
Martin Kojtal
c1d00df79a
test: fix coding style
2018-11-20 14:50:56 +00:00
Michal Paszta
e53ee631f9
Greentea netsocket and network tests improvements
...
Added smarter rounding of times in recv_timeout and increased the delta by one, to allow "off-by-one" errors.
Reverted commit 88eea6a
, reducing TESTS_TIMEOUT back to 480.
Introduced a 100ms timeout for waiting on asynchronous DNS resolution.
Improved error handling on disconnects.
2018-11-19 08:58:14 +01:00
Marcin Tomczyk
29b7c50e30
ONME-3852 Check that test cases disconnect at the end
2018-11-12 11:29:58 +01:00
Martin Kojtal
28a5906479
tests: fix coding style
2018-11-08 08:54:34 +00:00
Seppo Takalo
e3623b91fa
Increase EMAC test timeout to 1400 seconds
2018-10-31 17:14:05 +02:00
Martin Kojtal
bbfa322afb
tests: fix astyle
2018-10-25 09:58:17 +01:00
Martin Kojtal
5bed419dd8
Merge pull request #8505 from SeppoTakalo/continue_socket_tests
...
Continue Socket and WiFi tests even on test failure.
2018-10-24 09:40:22 +01:00
Seppo Takalo
66a2101006
Continue Socket and WiFi tests even on test failure.
...
Purpose is to run full set of testcases on each run.
Testcases should contain proper cleanup handlers so that they are
independent.
2018-10-23 13:58:21 +03:00
Veijo Pesonen
f9a723e8ad
mbedgt-network-wifi WIFI CONNECT TC - check that SSID is cached by driver
2018-10-19 09:09:34 +03:00
Veijo Pesonen
0823b3ef2d
mbedgt-network-wifi WIFI CONNECT TC - check for empty passwd
2018-10-18 14:12:53 +03:00
Cruz Monrreal
5a47318bc2
Merge pull request #8298 from SeppoTakalo/wifi_reset_channel
...
Reset channel settings back to default
2018-10-10 08:44:39 -05:00
Cruz Monrreal
15879f5273
Merge pull request #8241 from SeppoTakalo/fix_wifi_connect_params_fail
...
Fix WIFI_CONNECT_PARAMS_CHANNEL_FAIL testcase.
2018-10-08 10:16:37 -05:00
Seppo Takalo
5fd04ff279
Reset channel settings back to default
2018-10-02 13:11:23 +03:00
Seppo Takalo
e7924a98b2
Fix WIFI_CONNECT_PARAMS_CHANNEL_FAIL testcase.
...
Test case was assuming that secure and unsecure SSID were on different
channels.
This is not a requirement and it should be OK to run on same channel.
Fixed the testcase by using +1 on channel number to get a wrong channel.
2018-09-25 14:11:22 +03:00
Veijo Pesonen
6ac099ab1a
Makes mbedgt-network-wifi case to skip channel number check
...
2.4GHz and 5GHz channels might be using the same SSID. Wifi scan
might also fail occasionally to find secure- and unsecure channels
on same scan so lets not assume that we'll find both.
2018-09-25 09:29:53 +03:00
Martin Kojtal
0233c8df4c
Merge pull request #7882 from mikaleppanen/nw_if_gt_tests
...
Add greentea tests for network interface status and connect/disconnect
2018-09-19 14:20:07 +02:00
Martin Kojtal
32445ae326
Merge pull request #7880 from juhaylinen/fix-greentea-emac-timeout
...
Update Greentea EMAC tests
2018-08-28 14:38:08 +02:00
Mika Leppänen
fef021810e
Added greentea tests for network interface status and connect/disconnect
...
Added tests:
NETWORKINTERFACE_STATUS
NETWORKINTERFACE_STATUS_NONBLOCK
NETWORKINTERFACE_STATUS_GET
NETWORKINTERFACE_CONN_DISC_REPEAT
2018-08-24 13:21:48 +03:00
Juha Ylinen
4a66eb6bb1
Update Greentea EMAC tests
...
Increase timeout for EMAC tests. Old timeout (600 seconds) was not
enough for slower devices to complete the tests.
Check that connection was successful when running test case
emac_test_initialize.
2018-08-24 12:55:04 +03:00
Mika Leppänen
93eb0c2872
Fixed emac test function parameter errors
2018-08-21 10:55:49 +03:00
Mika Leppänen
06302cb10e
Set greentea wifi tests to set channel back to any after channel tests
2018-08-21 10:55:49 +03:00
Mika Leppänen
970a21fa9a
Updated greentea Wifi tests to use default interface
2018-08-21 10:55:49 +03:00
Mika Leppänen
5fa2edc73f
Updated greentea EMAC tests to use default interface
2018-08-21 10:55:49 +03:00
Martin Kojtal
e52bb68f93
tests: astyle fix
...
All tests should comply to our coding standard now
2018-08-03 10:23:38 +01:00
Mika Leppänen
d35f5b08ec
Removed device emac check from emac greentea tests
...
DEVICE_EMAC is defined only for boards with default Ethernet emac.
It is not defined for example for Realtek RTL8195AM board that
does not have Ethernet. Removed the check for device emac from emac
greentea tests.
2018-07-31 13:18:17 +03:00
Juha Ylinen
3c32b3ada7
Update Greentea netsocket and wifi tests
...
Increase timeout for netsocket TCP and UDP tests. Old timeout
(240 seconds) was not enough for slower devices to complete the
tests.
Accept error codes NSAPI_ERROR_CONNECTION_TIMEOUT and
NSAPI_ERROR_NO_CONNECTION when running test wifi_connect_secure_fail
2018-06-21 09:01:15 +03:00
Mika Leppänen
0334cd1679
Added long echo sequence test to EMAC tests
...
Test echoes 50000 random length ethernet frames between CTP echo
server and device.
2018-06-13 16:22:41 +03:00
Cruz Monrreal
10b859779d
Merge pull request #7103 from mikaleppanen/test_updat_lpc17xx
...
Greentea test updated for NXP lpc17xx
2018-06-11 08:55:20 -05:00
Juha Ylinen
44ce63e586
Add targets to Greentea EMAC tests
...
Update test configuration file for WicedInterface
2018-06-07 12:11:38 +03:00
Mika Leppänen
9095b037aa
Updated EMAC test environment for LPCxx boards
...
Updated EMAC memory manager to use libservice nsdynmemlib
for EMAC memory buffers. Located the nsdynmemlib buffer heap
to DMA safe memory bank on LPCxx boards. Optimized placement of
static variables on EMAC test environment for LPCxx boards to
maximize available memory.
2018-06-04 13:51:16 +03:00
Juha Ylinen
53eb36e729
Fix Greentea WiFi test build issues
2018-05-25 09:39:36 +03:00
Juha Ylinen
8e81d0153a
Update Greentea WiFi tests
...
Use similar network interface configuration as used in netsocket tests
Improve test coverage
2018-05-25 09:35:14 +03:00
Asif Rizwan
657ac3f643
WIFI_EMAC class renamed to OdinWiFiEMAC, Formatting
...
Revert "in ODIN emac initialization required before connection"
2018-05-23 12:25:21 +03:00
Mika Leppänen
fd2c6ba12b
Removed EMAC get default instance from EMAC tests
...
Test environment now uses the EMAC defined by add ethernet interface.
2018-05-23 12:25:20 +03:00
Asif Rizwan
717abf20aa
in ODIN emac initialization required before connection
2018-05-23 12:25:19 +03:00
Michael Zhang
162a8c0a00
add-rtl8195am-feature-emac ( #6904 )
...
rtl8195am feature emac implementation.
2018-05-23 12:25:18 +03:00
Mika Leppänen
e481c5ef75
Added memory manager set to add_ethernet_interface() of test stack
...
This allows that EMAC memory manager can be used to allocate EMAC driver
memory already after the add_ethernet_interface() call.
2018-05-23 12:24:11 +03:00
Amanda Butler
26f369919b
Copy edit README.md
...
Copy edit changes to README.md, mostly for active voice, consistent tense across docs and style.
2018-05-23 12:24:08 +03:00
Mika Leppänen
026af3a72e
Updated emac greentea tests
...
- Improved markdown
- Set tests to fail if CTP echo server is not present
2018-05-23 12:24:08 +03:00
Mika Leppänen
d9a66f1c54
Updated non-blocking connect changes to EMAC greentea test server
2018-05-23 12:24:08 +03:00
Mika Leppänen
c1c69be10b
Made feature-emac changes to emac greentea tests default code
...
Removed flagging of the new/old code.
2018-05-23 12:24:05 +03:00
Mika Leppänen
7aebda7a0f
Emac greentea tests for feature-emac
2018-05-23 12:24:05 +03:00
Veijo Pesonen
8e12db1a2b
Fix WIFI-CONNECT-PARAMS-CHANNEL-FAIL Greentea test case
...
The test case is executed succesfully when usage of wrong channel is detected
2018-02-20 16:09:46 +02:00
Jimmy Brisson
18e727623d
Merge pull request #5435 from mikaleppanen/emac_tests
...
Tests for wifi emac interface
2018-01-04 09:48:45 -06:00
Anna Bridge
2f4f82ec74
Merge pull request #5723 from SeppoTakalo/wifi-construtor-fix
...
Remove destruction of WiFi interface in test runs
2017-12-29 14:29:38 +00:00