Cai
d92e33dcee
Add WIFI support for RDA target UNO_91H
2019-02-12 22:59:53 +08:00
Michal Paszta
b5c00aa6b7
Greentea tests: set correct port to test against google.com
2019-02-12 15:40:11 +02:00
Martin Kojtal
091509705f
Merge pull request #9570 from VeijoPesonen/bugfix-tests-netsocket-udp_udpsocket_echotest_nonblock
...
tests-netsocket-udp: UDPSOCKET_ECHOTEST_NONBLOCK fixes
2019-02-12 09:55:20 +01:00
Cruz Monrreal
799476dd55
Merge pull request #9630 from michalpasztamobica/publish_documentation
...
Publish tests documentation for DNS, Emac, NetworkInterface and Wifi
2019-02-11 18:47:55 -06:00
Cruz Monrreal
5c4d5e346d
Merge pull request #9582 from michalpasztamobica/greentea_socket_improvements
...
Greentea Socket test improvements
2019-02-11 18:45:38 -06:00
Martin Kojtal
8f932a476f
Merge pull request #9449 from c1728p9/pinmap-extension
...
Pinmap extensions
2019-02-11 18:24:19 +01:00
Michal Paszta
6a184da381
ESP8266: connect() can handle ESP's errors.
...
ESP8266Interface::connect() checks the exact return value from
the underlying ESP8266::connect() call.
Increased timeout for network-wifi greentea tests to 6 minutes.
2019-02-11 17:20:14 +02:00
Russ Butler
d5892ce312
Add a sanity check test for pinmaps
...
Add a test which sanity checks all pinmaps.
2019-02-08 09:10:50 -06:00
Amanda Butler
ae20556635
Edit README.md
...
Edit file, mostly for inclusion of articles.
2019-02-07 16:10:38 -06:00
Amanda Butler
e9c44a86ac
Edit README.md
...
Edit file, mostly for inclusion of articles.
2019-02-07 15:52:20 -06:00
Amanda Butler
629e8a0e05
Edit README.md
...
Edit file, mostly for inclusion of articles and complete sentences.
2019-02-07 15:45:08 -06:00
Veijo Pesonen
099cbb1d30
tests-network-interface: drops unreferenced variable
2019-02-07 12:04:09 +02:00
Veijo Pesonen
ba75924c28
tests-netsocket-tls: TLSSOCKET_ECHOTEST deletes socket on failure case
2019-02-07 12:01:09 +02:00
Michal Paszta
ea3d70e0b1
Publish tests documentation for DNS, Emac, NetworkInterface and Wifi
...
Documentation moved from internal Confluence pages.
2019-02-06 16:22:21 +02:00
Martin Kojtal
dcba5ffa3c
Merge pull request #9529 from kfnta/its_crypto
...
RollUp PR Crypto with ITS
2019-02-04 17:14:05 +01:00
Veijo Pesonen
df3cdaa983
tests-netsocket-udp: UDPSOCKET_ECHOTEST_NONBLOCK execution time limit
...
Test case is allowed to take not more than a half what has been given
to the whole UDP suite.
UDP test cases reorganized so that the longest running ones are
executed last.
2019-02-04 12:33:34 +02:00
Michal Paszta
b3fd8a9bef
Greentea DNS test: added debug print
2019-02-01 15:34:38 +02:00
Michal Paszta
99fc26ecdf
Greentea Socket bind tests made ipv6-aware
2019-02-01 15:34:07 +02:00
Michal Paszta
fba66cf7f3
Greentea UDPSOCKET_RECV_TIMEOUT increase time tolerance
2019-02-01 14:22:05 +02:00
Martin Kojtal
3d4582bda0
Merge pull request #9572 from michalpasztamobica/greentea_tls_ipv6_compliant_website
...
Use an ip4- and ip6-compliant site to test TLS certificate error reporting
2019-02-01 08:26:08 +01:00
Oren Cohen
3f92beb08b
Update FUTURE_SEQUANA_PSA secure binaries
2019-01-31 19:31:53 +02:00
Cruz Monrreal
2c5d246249
Merge pull request #9429 from SeppoTakalo/TCPSOCKET_endpoint_close
...
Fix TCPSOCKET_ENDPOINT_CLOSE: Cannot accept WOULD_BLOCK
2019-01-31 10:20:20 -06:00
Oren Cohen
ea9f104463
Fix Licenses
2019-01-31 17:17:58 +02:00
Oren Cohen
f5e4f69c02
Update FUTURE_SEQUANA_PSA secure_binaries
2019-01-31 17:17:56 +02:00
Oren Cohen
47365d4620
Update ITS test
2019-01-31 17:17:56 +02:00
Alexander Zilberkant
3d3ee3834d
Update tests to use new APIs
2019-01-31 17:17:56 +02:00
Oren Cohen
51b76350d9
Remove ITS Reset partitions from tests
2019-01-31 17:17:55 +02:00
Oren Cohen
0de098e149
Add FUTURE_SEQUANA prebuilt binaries
2019-01-31 17:17:55 +02:00
Oren Cohen
156d3b785b
Replace psa_prot_internal_storage.h with psa/internal_trusted_storage.h
2019-01-31 17:17:54 +02:00
Oren Cohen
d2025b7150
Tests
2019-01-31 17:17:54 +02:00
Oren Cohen
34895a05ad
CR fixes
2019-01-31 17:17:54 +02:00
Oren Cohen
8841ba69f8
Align to new spec changes and prep for TFM SPM
...
# Conflicts:
# components/TARGET_PSA/services/crypto/COMPONENT_PSA_SRV_IPC/psa_crypto_spm.c
# components/TARGET_PSA/services/crypto/COMPONENT_SPE/psa_crypto_partition.c
2019-01-31 17:17:53 +02:00
Michal Paszta
c3f3dcbc0e
Use an ip4- and ip6-compliant site to test TLS certificate error reporting
2019-01-31 15:00:13 +02:00
Veijo Pesonen
4d31455a0f
tests-netsocket-udp: UDPSOCKET_ECHOTEST_NONBLOCK restores non-blocking
...
Fixes a bug where after dropping bad packets receiver doesn't restore
the socket back to non-blocking state as it's supposed to.
2019-01-31 12:59:40 +02:00
Martin Kojtal
a4ed473afc
Merge pull request #9515 from VeijoPesonen/bugfix-tests-netsocket-udp_udpsocket_sendto_invalid
...
tests-netsocket-udp UDPSOCKET_SENDTO_INVALID allow unsupported empty UDP packet
2019-01-30 10:08:34 +01:00
Martin Kojtal
7d036b52cd
Merge pull request #9283 from michalpasztamobica/tlssocket_greentea
...
Add TLSSocket greentea tests.
2019-01-30 09:55:21 +01:00
itayzafrir
fa46e3b499
crypto: Add test of hash clone
...
Test hash clone by adding a test to TESTS/mbed-crypto/sanity/main.cpp
2019-01-29 11:43:27 +02:00
itayzafrir
e66b2203a9
crypto: Add test of key handles
...
Test key handles by adding a test to TESTS/mbed-crypto/sanity/main.cpp
2019-01-29 11:43:26 +02:00
itayzafrir
f882a07708
crypto: Update tests to use key handles
...
Update tests in TESTS/mbed-crypto/sanity/main.cpp
2019-01-29 11:43:26 +02:00
Veijo Pesonen
b0fca1ffc8
Test UDPSOCKET_SENDTO_INVALID allows NSAPI_ERROR_UNSUPPORTED
2019-01-29 10:59:06 +02:00
Michal Paszta
af65522652
Publish TLSSocket test documentation
...
The whole README.md had to be updated to match the internal Confluence documentation, which can now be locked. In the process I also updated any spotted mistakes in tests documentation, removed the obsolete TCPServer tests documentation and added a test which was missing from UDPSocket's main.
2019-01-23 16:54:19 +02:00
Senthil Ramakrishnan
815066f853
Add debug prints to triage the test timeouts
2019-01-22 16:40:02 -06:00
Senthil Ramakrishnan
62d6eb5673
Increase the timeout for the host side script and the test
2019-01-22 16:04:47 -06:00
Michal Paszta
d568e2160b
Add TLSSocket greentea tests.
...
TLSSocket tests based on existing TCPSocket greentea tests and TLSSocket icetea tests.
2019-01-22 12:46:48 +01:00
Martin Kojtal
a09b5f5c6b
Merge pull request #9416 from fkjagodzinski/test_update-systimer
...
RTOS: SysTimer: Fix test timing issues
2019-01-21 13:44:53 +01:00
Martin Kojtal
7b29593a41
Merge pull request #9415 from SeppoTakalo/ONME-4140
...
Allow NSAPI_ERROR_UNSUPPORTED from Socket::setsockopt()
2019-01-21 13:43:37 +01:00
Martin Kojtal
5c46faeb86
Merge pull request #9417 from jeromecoutant/PR_DNSTIMEOUT
...
Netsocket DNS test: increase timeout value
2019-01-21 13:42:24 +01:00
Martin Kojtal
27cce81580
Merge pull request #9258 from jeromecoutant/PR_FLASHSKIP
...
FLASH test: skip test if test region overlaps code
2019-01-21 13:15:51 +01:00
Seppo Takalo
6b92d32b3e
Fix TCPSOCKET_ENDPOINT_CLOSE: Cannot accept WOULD_BLOCK
...
This testcase uses Socket in blocking mode, and therefore
WOULD_BLOCK should not be accepted.
The logic was wrong anyway, because return value was tested
to be negative before testing with WOULD_BLOCK which is negative
as well.
Also replaced TEST_FAIL() macro with TEST_ASSERT_EQUAL() to
make the return code visible in test log.
2019-01-21 10:46:11 +02:00
Filip Jagodzinski
5840281682
ROTS: SysTimer: Fix test timing issues
...
Use a busy loop with non-blocking Semaphore::wait(0) calls instead of a
single Semaphore::wait(osWaitForever) to improve time measurement
accuracy. Looping in Semaphore::wait(0) prevents the board from entering
sleep or deepsleep modes while waiting for the semaphore. By skipping
the overhead wakeup time, we get more accurate timings.
2019-01-18 17:10:39 +01:00
Cruz Monrreal
68deb05d1b
Merge pull request #9376 from michalpasztamobica/tcpsocket_greentea
...
TCP/UDP greentea tests refactoring and cleanup
2019-01-17 21:52:40 -06:00
Cruz Monrreal
436d3d043d
Merge pull request #9257 from jeromecoutant/PR_FLASHIAP_TIMING
...
FLASHIAP test: skip test if test region overlaps code
2019-01-17 21:50:20 -06:00
jeromecoutant
3a190656fa
Netsocket DNS test: increase timeout value
2019-01-17 17:39:43 +01:00
Seppo Takalo
26dcd0d90a
Allow NSAPI_ERROR_UNSUPPORTED from Socket::setsockopt()
2019-01-17 18:02:04 +02:00
Michal Paszta
6e629e1ba6
Gemalto Crinterion UDP test adjustments
...
Adjusting the tests to match the cellular modems ELS61-E2 and BGS2-W requirements.
2019-01-15 12:38:48 +01:00
Michal Paszta
59e8dedb67
TCP/UDP greentea tests refactoring and cleanup
2019-01-15 10:00:35 +01:00
Alexander Zilberkant
435d944dd0
fix its_reset test
2019-01-13 18:30:22 +02:00
Przemyslaw Stekiel
ef681bf18d
Add SPDX-License-Identifier and Copyright in new files
2019-01-08 15:32:08 +01:00
Przemyslaw Stekiel
01ca8443a8
Add stack size unification test
...
Test checks stack sizes:
- ISR stack: exactly 1KB (with exception for NORDIC - 2KB and RENESAS - Cortex A targets not supported for this test)
- Main thread stack: exactly 4KB (with some exceptions - 3KB)
- Thread stack: exactly 4KB
2019-01-08 15:32:01 +01:00
jeromecoutant
482396ce7d
FLASH test: skip test if test region overlaps code
2019-01-04 16:50:54 +01:00
jeromecoutant
b712e71194
FLASHIAP test: skip test if test region overlaps code
2019-01-04 16:38:32 +01:00
Martin Kojtal
acd69ae7e1
Merge pull request #9229 from maciejbocianski/qspi_hal_test_k82f_fix
...
hal-qspi_test: move frequency setting before flash init
2019-01-04 08:56:54 +00:00
Brian Daniels
5625b6964d
Fix Python 3 syntax in rtc host test
2019-01-03 12:04:36 -06:00
Martin Kojtal
cc89c20abc
Merge pull request #9175 from michalpasztamobica/greentea_ignore_unsupported
...
Greentea tests ignore bind returning UNSUPPORTED
2019-01-03 14:59:50 +00:00
Maciej Bocianski
fc593d2d6f
hal-qspi_test: move frequency setting before flash init
...
Frequency setting just after erase operation was causing some data
inconsistencies during write/read operations on some targets (frdm-k82f).
To fix this, frequency setting was moved before flash memory init.
2019-01-03 12:17:23 +01:00
Martin Kojtal
d7497a82dd
Merge pull request #9128 from orenc17/spm_hal_test_fix
...
Fix SPM HAL test
2019-01-02 09:18:02 +00:00
Alexander Zilberkant
b409267883
Update TESTS/mbed_hal/spm/main.cpp
...
Use r3 instead of r4
Co-Authored-By: orenc17 <oren.cohen@arm.com>
2018-12-23 11:37:29 +02:00
Martin Kojtal
aceeb269d1
Merge pull request #9159 from SeppoTakalo/unflag_extented
...
Drop MBED_EXTENTED_TESTS flagging from network tests.
2018-12-20 16:29:51 +00:00
Michal Paszta
a2110d5411
Greentea tests ignore bind returning UNSUPPORTED
2018-12-20 15:38:07 +01:00
Martin Kojtal
ab1c2be997
Merge pull request #8957 from InfernoEmbedded/fix-8913
...
Fix incorrect #ifdefs on DEVICE_FOO macros
2018-12-20 10:52:06 +00:00
Martin Kojtal
85c2fc7fb1
Merge pull request #9148 from davidsaada/david_fix_app_end_addr
...
Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
2018-12-20 10:48:26 +00:00
Alastair D'Silva
2617c5d55b
Don't use define checks on DEVICE_FOO macros (mbed code)
...
The DEVICE_FOO macros are always defined (either 0 or 1).
This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-20 10:16:42 +11:00
Seppo Takalo
18404e93be
Drop MBED_EXTENTED_TESTS flagging from network tests.
...
All properly working IP stacks are required to pass Mbed OS socket tests.
This have now proven with current Ethernet devices with LwIP stack.
2018-12-19 16:18:33 +02:00
David Saada
f3bac3451c
Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
...
- Consider data section in GCC_ARM toolchain
- Consider init_array section in IAR toolchain
- Rename macro to FLASHIAP_APP_ROM_END_ADDR for clarity sake
2018-12-19 12:05:08 +02:00
Cruz Monrreal
995725b50a
Merge pull request #9129 from jeromecoutant/PR_DNSDEBUG
...
DNS tests: improve debug messages
2018-12-18 14:26:35 -06:00
Cruz Monrreal
f949ee5388
Merge pull request #9127 from jeromecoutant/PR_WIFIDEBUG
...
WIFI test: improve debug messages
2018-12-18 13:23:12 -06:00
jeromecoutant
bd4b99c498
DNS tests: improve debug messages
2018-12-18 13:32:45 +01:00
Cruz Monrreal
80c6f5f8ee
Merge pull request #8972 from kjbracey-arm/merge_file_truncate
...
Merge feature-posix branch (FileHandle::truncate)
2018-12-17 14:49:56 -06:00
Cruz Monrreal
eed3fb12c7
Merge pull request #9109 from kjbracey-arm/fseek_test_rework
...
Rework fseek/ftell tests
2018-12-17 14:43:06 -06:00
Oren Cohen
9b573acfa4
Run the non-secure cases first
2018-12-17 16:43:09 +02:00
Oren Cohen
6a9de3178e
Fix SPM HAL test
...
When accessing non-secure ram and flash r1 was actually used by the calling function.
Change to a callee saved register.
2018-12-17 16:38:13 +02:00
jeromecoutant
da6ad75666
WIFI test: improve debug messages
2018-12-17 15:20:02 +01:00
Kevin Bracey
7b5939c05b
Add ftruncate / fstat(st_size) unit test
2018-12-14 19:29:29 +02:00
Kevin Bracey
ff7a316a32
Rework fseek/ftell tests
...
ARM C library is really good at optimising out calls to underlying
seek. The only ones we were actually detecting in the empty file case
were the ones that the default FileHandle::size() made itself during
the SEEK_END case.
When we implement TestFile::size() directly, we will no longer see
a single seek call from the ARM C library in the empty file case, so
remove those tests.
Beef up the non-empty file case, adding checks that we are making
underlying read+write calls in the correct position, as a proxy for
direct checks for underlying seek being called.
2018-12-14 19:29:27 +02:00
Cruz Monrreal
64e7e468b2
Merge pull request #9089 from jeromecoutant/DEV_QSPI_TEST
...
STM32 QSPI update
2018-12-14 10:14:13 -06:00
Conrad Braam
3b138fba02
Fix long writes/reads stack overflowing ( #8802 )
...
* writes and reads queue, not overflow stack IOTPAN-295
2018-12-13 18:18:01 -06:00
jeromecoutant
84ee55bfe0
QSPI tests: update STM32 boards configuration
...
NB: STM directory removed in flash_configs as there is no STM memory
2018-12-13 10:56:35 +01:00
jeromecoutant
0af1ecd305
STM32 DISCO : enable QSPI tests when available
2018-12-13 10:56:27 +01:00
Kari Haapalehto
e502675bd1
Fix test-netsocket-tcp greentea test build fails.
...
main.cpp was missing comma at the end of line.
2018-12-11 12:51:30 +02:00
Cruz Monrreal
89527604ae
Merge pull request #9033 from fkjagodzinski/fix-stream
...
Fix Stream for IAR toolchain
2018-12-10 19:20:06 -06:00
Filip Jagodzinski
91e9010dd2
Tests: Stream: Use a quote from C99 spec
...
Use C99 instead of Linux man entry.
2018-12-10 16:30:16 +01:00
Kevin Bracey
13a24bc0bd
Test MPU is enabled by init
2018-12-10 16:45:30 +02:00
Filip Jagodzinski
5c9cc5b8f1
Tests: Stream: Add more test cases
2018-12-10 12:09:22 +01:00
Michal Paszta
c48312ded4
Missing socket greentea tests implementation
2018-12-07 10:35:39 +01:00
Cruz Monrreal
035e8e0b77
Merge pull request #8964 from kfnta/parser_empty_tests
...
Correct behavior of PSA code generator
2018-12-06 21:25:42 -06:00
Cruz Monrreal
78d6018ecc
Merge pull request #8745 from kfnta/feature-new-target-future-sequana-psa
...
Add new target future sequana PSA
2018-12-06 13:13:36 -06:00
Oren Cohen
935f2bdfbc
Correct behavior of PSA code generator
...
* Don't generate files if a test does not contain additional partitions
2018-12-06 18:17:09 +02:00
Oren Cohen
cb58b34581
Prebuilt images
2018-12-06 11:33:35 +02:00
Oren Cohen
2df2fc7d29
Fix PSA-HAL, TRNG, TLS tests
2018-12-06 01:22:50 +02:00
Oren Cohen
51a462aeea
Use entropy injection on any NVseed platform or PSA dual-core/v8
2018-12-05 20:08:35 +02:00