Jimmy Brisson
954960c2a1
Merge pull request #5784 from 0xc0170/fix_rtc_result
...
RTC test: fix __result variable
2018-01-08 10:38:26 -06:00
Jimmy Brisson
c00efaec44
Merge pull request #5737 from jeromecoutant/PR_LP_TIMER_TEST
...
lp_timer test : add a minimum delta value
2018-01-04 10:03:53 -06:00
Jimmy Brisson
b12d0fb56b
Merge pull request #5673 from maciejbocianski/mem_trace_tests
...
mem_trace tests refactoring
2018-01-04 09:54:40 -06: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
Martin Kojtal
77cc7c7c8f
RTC test: fix __result variable
...
Not needed, neither used anywhere. Teardown also can
be removed
2018-01-04 13:19:13 +00:00
jeromecoutant
9a43912177
lp_timer test : add a minimum delta value
2018-01-03 15:37:19 +01: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
Cruz Monrreal II
43af0d7395
Merge pull request #5743 from VeijoPesonen/greentea-wifi-fixes-disconnect
...
Greentea wifi test cases - disconnect done as teardown after each connect
2017-12-28 21:02:42 +00:00
Veijo Pesonen
5585ba60a5
Greentea test case WIFI-CONNECT-NOCREDENTIALS- accept also parameter error if AP is not found
2017-12-22 13:02:06 +02:00
Veijo Pesonen
c993057537
Security protocol made configurable via json
2017-12-22 12:54:22 +02:00
Veijo Pesonen
402ab81730
remove disconnect from test cases as it's going to be called implicitly from get_interface-function
2017-12-22 10:18:28 +02:00
Maciej Bocianski
cc580d7532
mem_trace tests refactoring
2017-12-22 07:56:56 +01:00
Veijo Pesonen
ca95e3f88b
Greentea WIFI-CONNECT-SECURE must use NSAPI_SECURITY_WPA_WPA2
2017-12-21 08:29:09 +02:00
Veijo Pesonen
f71756cf98
Greentea WIFI-SCAN - make possible to disable check against assumed channel
...
It's possible that a device does not support setting the channel to be used.
In case channel is not set by the device lets disable the check.
2017-12-21 08:29:09 +02:00
Veijo Pesonen
8c421e20d6
Greentea Wifi testcase fixes
...
Call disconnect when connect has been tested. Also instead of waiting
for parameter error in case of missing SSID give missing SSID error
code.
2017-12-21 08:29:09 +02:00
TomoYamanaka
4f4b4ddf36
Change the "thread" test main for Cortex-A
...
In pararell threads of "thread" test is a simple thread, but it seems that there is a difference in the stack used between Cortex-A and Cortex-M.
As a result of check, in Cortex-A, program aborts because of the lack of stack when PARALLEL_THREAD_STACK_SIZE is 384, workes properly when PARALLEL_THREAD_STACK_SIZE is 512 at least.
2017-12-21 14:09:24 +09:00
TomoYamanaka
a105f6f356
Change the "malloc" test main for Cortex-A
...
"malloc" test is used a simple thread that executes only malloc and free, but it seems that there is a difference in the stack used between Cortex-A and Cortex-M.
As a result of check, in Cortex-A, program aborts because of the lack of stack when THREAD_STACK_SIZE is 256, workes properly when THREAD_STACK_SIZE is 512 at least. Since it seems that the definition processing of "DEFAULT_STACK_SIZE" was gone from Mbed OS by updating CMSIS5/RTX5, I setted 512 directly for Cortex-A.
2017-12-21 14:09:24 +09:00
TomoYamanaka
698de3b5ff
Modify 2-byte code of "heap and stack" test main for Cortex-A
...
I modified "space" character from 2-byte code to 1-byte code in "heap and stack" test main.
2017-12-21 14:09:24 +09:00
Seppo Takalo
8bfe5779b3
Remove destruction of WiFi interface in test runs
...
Most of our IP stacks don't allow removal of interfaces so
interface destructor can not reliably clean up. Therefore we
cannot rely its behaviours in test case.
Instead run interface->disconnect() in case interface was already
created.
2017-12-20 16:58:11 +02:00
Martin Kojtal
63a923752b
Merge pull request #5568 from VeijoPesonen/greentea-wifi-fixes
...
Greentea Wifi testcase fixes
2017-12-20 14:52:44 +00:00
Martin Kojtal
b89cf3ff75
Merge pull request #5578 from mprse/CircularBuffer_tests
...
CircularBuffer class modification and test
2017-12-20 14:51:44 +00:00
Martin Kojtal
bea41d1ebb
Merge pull request #5635 from c1728p9/fix_lazy_init
...
Protect local static object construction in ARMCC
2017-12-12 17:41:21 +00:00
Martin Kojtal
5c98ca56fc
Merge pull request #5648 from maciejbocianski/singletonPtr_tests
...
Add SingletonPtr test
2017-12-12 17:40:36 +00:00
Martin Kojtal
be52ba2156
Merge pull request #5363 from mprse/extended_rtc
...
Add support and tests for extended RTC
2017-12-12 17:36:44 +00:00
Martin Kojtal
57a5735387
Merge pull request #5576 from jeromecoutant/PR_IP
...
Ethernet tests update
2017-12-12 17:31:23 +00:00
Przemyslaw Stekiel
fcdaeccea1
Add tests for extended RTC.
2017-12-05 07:53:41 +01:00
jeromecoutant
d8cc5a3850
tests-netsocket-socket_sigio
...
HTTP_SERVER_NAME and HTTP_SERVER_FILE_PATH are replaced by
MBED_CONF_APP_HTTP_SERVER_NAME and MBED_CONF_APP_HTTP_SERVER_FILE_PATH
to allow user to make local tests
Test on HTTP connect added as test was always OK even with no connection...
2017-12-04 17:55:11 +01:00
jeromecoutant
bff8fc1534
tests-netsocket-tcp_hello_world
...
HTTP_SERVER_NAME and HTTP_SERVER_FILE_PATH are replaced by
MBED_CONF_APP_HTTP_SERVER_NAME and MBED_CONF_APP_HTTP_SERVER_FILE_PATH
to allow user to make local tests
2017-12-04 17:55:10 +01:00
jeromecoutant
df27bca67d
tests-netsocket-tcp_echo
...
UUID lines are removed as they were not used
default case:
If MBED_CONF_APP_ECHO_SERVER_ADDR and MBED_CONF_APP_ECHO_SERVER_PORT are not defined
test is using Greentea to get server information (code before OS 5.6.1 version)
TCP_ECHO_PREFIX is no more a mandatory step
2017-12-04 17:55:09 +01:00
jeromecoutant
3cb8316993
tests-netsocket-udp_echo
...
UUID lines are removed as they were not used
default case:
If MBED_CONF_APP_ECHO_SERVER_ADDR and MBED_CONF_APP_ECHO_SERVER_PORT are not defined
test is using Greentea to get server information (code before OS 5.6.1 version)
2017-12-04 17:55:08 +01:00
jeromecoutant
61b8468db9
tests-netsocket-gethostbyname
...
MBED_DNS_TEST_HOST define is replaced by MBED_CONF_APP_DNS_TEST_HOST to allow user to change host name for local tests
2017-12-04 17:55:07 +01:00
Maciej Bocianski
2ac12028ca
Add SingletonPtr test
2017-12-04 11:42:23 +01:00
Russ Butler
1faf46e161
Fix deficiency in the race test
...
The test for construction of local static objects doesn't check
to see if the object returned has been fully initialized. Because
of this, an error with ARMCC was not detected.
This patch adds an assert to the race_test to ensure that the
object has been properly initialized.
2017-12-01 10:49:50 -06:00
Veijo Pesonen
2d7a79f123
Greentea Wifi testcase fixes
...
Replace 'TEST_PASS' with 'return'
2017-12-01 16:35:55 +02:00
Przemyslaw Stekiel
a488424d26
Add CircularBuffer test.
2017-11-29 11:26:36 +01:00
Wolfgang Betz
043ee4a6f5
Split test for secure & unsecure tests
2017-11-28 13:17:38 +01:00
Wolfgang Betz
3613803a7a
Correct WiFi driver name to `X_NUCLEO_IDW0XX1`
2017-11-28 13:17:37 +01:00
Jimmy Brisson
70522bb44b
Merge pull request #5360 from maciejbocianski/thread_fix
...
threads test adjust to run on devices with small RAM
2017-11-27 10:35:44 -06:00
Veijo Pesonen
e488b2c04f
Greentea Wifi testcase fixes
...
ONME-3266 Greentea testcase WIFI-SCAN fails arbitrarily
ONME-3278 Greentea testcase WIFI-SET-CREDENTIAL doesn't try WEP with valid credentials
ONME-3279 Greentea testcase WIFI-GET-RSSI uses arbitrary RSSI value limits
ONME-3280 Greentea testcase WIFI-CONNECT-PARAMS-VALID-SECURE assumes WPA2
2017-11-23 13:57:05 +02:00
Jimmy Brisson
cfa9e47aee
Merge pull request #5483 from maciejbocianski/heap_and_stack_tests
...
heap_and_stack test refactoring
2017-11-22 10:15:03 -06:00
Jimmy Brisson
308833b431
Merge pull request #5323 from maciejbocianski/malloc_tests
...
malloc test refactoring
2017-11-22 10:14:35 -06:00
Maciej Bocianski
bc99556151
threads test: increase threads heap size
2017-11-22 12:54:43 +01:00
Mika Leppänen
5c15819130
Tests for wifi emac interface
2017-11-21 09:52:58 +02:00
Jimmy Brisson
593eab2603
Merge pull request #5123 from maciejbocianski/signal_tests
...
Extends test set for Thread signals
2017-11-20 10:49:58 -06:00
Maciej Bocianski
bc103359f7
heap_and_stack test refactoring
2017-11-20 11:24:49 +01:00
Martin Kojtal
56aa7c396f
Merge pull request #5261 from maciejbocianski/ticker_tests2
...
Extends test set for Ticker class
2017-11-16 16:23:35 +00:00
Martin Kojtal
eb5d3fffff
Merge pull request #5403 from mprse/timer_test_delta_fix
...
Provide fixes for Timer and LowPowerTimer tests.
2017-11-16 16:19:24 +00:00
Russ Butler
93cf15d57c
Fix and add test for ConditionVariable
...
Fix the circular linked list handling in ConditionVariable and add a
test to validate the linked list implementation.
2017-11-15 16:15:27 -06:00
Martin Kojtal
41eb565d9c
Merge pull request #5342 from ARMmbed/feature_cortex_a
...
Update CMSIS/RTX with Cortex-A support
2017-11-15 11:24:36 +00:00
Maciej Bocianski
a7f31c9cc1
malloc test refactoring
2017-11-15 11:04:40 +01:00