RAJKUMAR KANAGARAJ
f1139ebd8e
Incorporated the review comments
...
-Added "rtos-api" in TESTS/configs/baremetal.json
-some test case used thread_sleep_for instead Thisthread::sleep_for
-Added the EOF character
-Disable completely the non supported test cases
2019-11-07 07:19:13 -08:00
Kimmo Vaisanen
582b16ffbc
Add sender address and port verification to UDPSOCKET_ECHOTEST
...
recvfrom method returns sender address and port and this commit
adds a test for it in UDPSOCKET_ECHOTEST.
2019-11-07 14:51:20 +02:00
Martin Kojtal
33e392e9d9
Merge pull request #11682 from mprse/fpga_tests_CI_targets
...
Make FPGA tests to pass on CI targets (SPI, analogIn, PWM)
2019-11-07 11:46:40 +01: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
Tymoteusz Bloch
eb3befdac9
TLSSOCKET_HANDSHAKE_INVALID test skip if DNS AAA record not available.
...
TLS test sevrver "badssl.com" doesn't support DNS AAA records for IPV6.
To avoid test fail if no IPV4 is chosen this test is skipped.
2019-11-06 17:57:19 +01: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
RAJKUMAR KANAGARAJ
f30dd1cef2
Enable the Bare Metal green tea test
...
-PSA test framework uses the RTOS threads to run test cases so added MBED_CONF_RTOS_PRESENT to all the test cases.
2019-11-06 03:15:49 -08:00
RAJKUMAR KANAGARAJ
b1731ce3c8
-New PR for PSA,Netsocket,storage components,reverted all the changes to back to original
...
-Change the #error description more precisely
-Separated the MBED_CONF_RTOS_PRESENT guarded
2019-11-06 01:59:05 -08:00
RAJKUMAR KANAGARAJ
302f595c28
- Emac,NFC-EEPROM,PSA-CRYPTO components build issue fixed
...
- RTOS supported test case guarded with MBED_CONF_RTOS_PRESENT flag
- Added the #error to non supported test case for bare metal
2019-11-06 01:57:29 -08:00
Przemyslaw Stekiel
b24afed5ae
SPI fpga test: use get_capabilities() function to skip test cases for unsupported features
2019-11-06 10:09:20 +01:00
Mirela Chirica
d2794c63c0
Cellular: Baud rate setting for UDPSOCKET_ECHOTES_BURST greentea test
2019-11-06 10:09:03 +02:00
Mirela Chirica
1993347532
Cellular: Baud rate setting for tls greentea tests
2019-11-06 10:08:34 +02:00
RAJKUMAR KANAGARAJ
3fc8905315
Fixed the greentea test dependency and incorporated the review comments
...
-Added the mbedtls,crypto,psa,filesystem,fat,littlefs in baremetal.json to resolve compiler issue
-Disable metrics that are not available for bare metal
-Moved the baremetal.json inside TESTS/configs directory
2019-11-05 08:49:27 -08:00
RAJKUMAR KANAGARAJ
f402dbb2da
Bare metal greentea support
...
-Added the baremetal.json on Tests directory to enable bare-metal
-Conditional enable of greentea metrics
Note:
Run green tea with bare metal
mbed test -m target -t GCC_ARM -n tests-mbed_platform-transaction --app-config TESTS/baremetal.json
2019-11-05 08:49:27 -08:00
Filip Jagodzinski
55e1a760cb
Test: Watchdog: Update the deepsleep wait
...
Extend the deepsleep wait up to 220% of the Watchdog timeout.
One of the current Watchdog timing requirements is to fire BEFORE twice
the timeout value, but at least one target (K64F) is expected to fire
EXACTLY at a doubled timeout value in deepsleep mode. This patch updates
the test to cope with a new deepsleep timing requirement.
2019-11-05 11:49:39 +01:00
Martin Kojtal
5303b10509
Merge pull request #11693 from mtomczykmobica/ONME-4398
...
UDPSOCKET_ECHOTEST change to tolerate duplicate packets
2019-11-04 15:29:51 +01:00
Martin Kojtal
f27aec3377
Merge pull request #11279 from cy-jayasankar/pr/added-ipv6-link-local-address-api
...
Add API to get ipv6 link local address
2019-11-04 15:28:41 +01:00
Martin Kojtal
c908404d94
Merge pull request #11783 from mirelachirica/set_baud_rate
...
Adding set baud rate routine
2019-11-04 15:27:02 +01:00
Mirela Chirica
3fdbe2408d
Cellular: Baud rate setting for TCPSOCKET_RECV_100K greentea test
2019-11-01 17:22:06 +02: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
eea83007be
Merge pull request #11203 from Tharazi97/Watchdog_lower_limit_timeout_test
...
Add watchdog lower limit timeout test
2019-10-31 14:25:52 +01:00
Filip Jagodzinski
5dcd0f7aec
Prevent sleep during watchdog lower limit test
2019-10-30 16:00:28 +01:00
Przemyslaw Stekiel
766c3647d7
Update tests-mbed_hal_fpga_ci_test_shield-pwm test (adapt for NRF_52)
...
Looks like the PWM works fine on NRF52840_DK target, but this target has hardware limitation and the max PWM period is 32 767 us.
That is why test cases when the period is set 50 ms are failing.
The test will be modified to test the 30 ms period instead of 50 ms, so the test can pass on all CI targets.
2019-10-30 14:39:42 +01:00
Przemyslaw Stekiel
95dc61dac3
SPI fpga test: disable 16 bit test case for NRF52840_DK (not supported)
2019-10-30 14:37:29 +01:00
Filip Jagodzinski
8640da4f9d
Test: Watchdog: Update the sleep & deepsleep cases
...
Use ThisThread::sleep_for() for sleeping instead of the calls to
Semaphore::acquire().
2019-10-30 12:51:47 +01:00
Filip Jagodzinski
361804b91d
Test: Watchdog: Fix deepsleep wait
...
Wait for the serial buffers flush before starting the watchdog.
2019-10-30 12:51:47 +01:00
Filip Jagodzinski
e3f8711818
Test: Watchdog: Update the deprecated calls
...
Replace the wait_ms() with wait_us().
Replace the Semaphore::wait() with Semaphore::acquire().
2019-10-30 12:51:46 +01:00
Filip Jagodzinski
2410257551
Test: Watchdog: Fix LP ticker preproc condition
2019-10-30 12:51:46 +01:00
Filip Jagodzinski
7af11fa4b5
Test: Watchdog: Fix error handling
...
Add a watchdog-kicking thread running in the background when the test
suite is handling a failed assertion. A single watchdog kick did not
provide enough time for the greentea communication if the watchdog
reset happened later than expected.
2019-10-30 12:51:19 +01:00
Martin Kojtal
6f5389980e
Merge pull request #11032 from mprse/bring_fpga_tests_master_spec
...
Add test header files and defined behavior for APIs tested using FPGA-Test-Shield
2019-10-30 11:02:34 +01:00
Przemyslaw Stekiel
2ff31126b4
Make use of xxx_free() in FPGA tests
2019-10-29 14:18:32 +01:00
Martin Kojtal
87b150a1fe
Merge pull request #11715 from miteshdedhia7/pr/target-cyw9p62s1-43012
...
Add CYW9P62S1_43012EVB_01 board
2019-10-29 10:29:10 +01:00
Przemyslaw Stekiel
6e31c14f2e
Fix fpga test function names
2019-10-28 13:10:52 +01:00
Przemyslaw Stekiel
40c4b44385
HAL: Serial: Update the header file doxy (FIXME)
2019-10-28 13:10:51 +01:00
Przemyslaw Stekiel
7aea44f0cf
Add header files to fpga tests, update test names
2019-10-28 13:10:51 +01:00
Martin Kojtal
6f7c1c9037
Merge pull request #11742 from fkjagodzinski/fix-reset_reason-ci_nightly
...
Fix the reset_reason host test in the CI
2019-10-28 11:53:42 +01:00
Martin Kojtal
1c5fe1c9f5
Merge pull request #11752 from mnaberez/erase-value
...
FlashIAP: Get erase value from HAL instead of hardcoding it
2019-10-28 11:21:10 +01:00
Martin Kojtal
3efae200ea
Merge pull request #11743 from maciejbocianski/fpga_i2c_test_limit_ports
...
fpga i2c test: limit tested peripherals
2019-10-28 11:04:33 +01:00
Martin Kojtal
87a5e47b42
Merge pull request #11631 from maciejbocianski/qspi_frequency_test_fix
...
Qspi frequency test fix
2019-10-28 09:41:36 +01:00
Mike Naberezny
6be96ba4b2
FlashIAP: Get erase value from HAL instead of hardcoding it
2019-10-26 14:11:42 -07:00
Filip Jagodzinski
f1f9f45378
Test: Fix the reset_reason host test in the CI
...
Use a BaseHostTestAbstract.reset() method instead of
BaseHostTestAbstract.reset_dut() for more consistent behavior with
various platforms in the CI.
In contrast to a local setup, the reset_dut() method flashes the binary
again after performing the reset in a remote setup (RaaS). This was not
intentional in reset_reason tests. Moreover, this led to a different
behavior (a different reset_reason) for different flashing methods which
are target specific.
2019-10-24 13:04:13 +02:00
Maciej Bocianski
bf48415dd3
fpga i2c test: limit tested peripherals
...
Due to lack of i2c_free function switching between peripherals
cause i2c tests failures on some targets.
For now limit testing to single peripheral.
2019-10-24 12:31:48 +02:00
Hugues Kamba
ceffb6ddeb
minimal-printf: Fix handling of the two character sequence %%
...
The two character sequence %% is used in standard implementations of
printf to print a single %. This is because % is essentially printf's
escape character for format specifiers and as \% cannot work printf
uses %%.
Therefore to be compatible with string buffers containing
%%, minimal-printf also needs to only print a single %.
2019-10-23 11:30:54 +01:00
Ryan Morse
ecdbdc03dd
Added CYW9P62S1_43012EVB_01 board
...
Notes:
- CRC and TRNG are disabled on this board since the MCU on this board does not have the required hardware.
- QSPI and QSPIF are temporarily removed due to issues related to supporting the new S25FS512S flash chip we have on this board. These will be enabled as soon as we can get the issues resolved.
https://github.com/ARMmbed/mbed-os/issues/11722
2019-10-21 15:36:44 -07:00
Martin Kojtal
fe12608226
Merge pull request #11444 from jeromecoutant/PR_QSPI_EXTERNAL
...
QSPI : Define default pins at drivers level
2019-10-21 15:19:08 +02:00
Kyle Kearney
bb872ee196
Restore old qspi_alt_size_t values as compatibility macros
2019-10-16 09:37:27 -07:00
Marcin Tomczyk
11864c71aa
UDPSOCKET_ECHOTEST change to tolerate duplicate packets
2019-10-16 03:55:26 -07:00
jeromecoutant
23e6840f95
QSPI HAL test: flash configuration file selection update
2019-10-15 17:38:47 +02:00
jeromecoutant
5c1c5588ab
QSPI test should use json defined QSPI pins
2019-10-15 17:36:49 +02:00
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
Martin Kojtal
0e7d8927f1
Merge pull request #11615 from kivaisan/remove_deprecated_cellular_tests
...
Cellular: Remove old deprecated tests
2019-10-14 09:28:01 +02:00
Anna Bridge
489c30f569
Merge pull request #11297 from kyle-cypress/pr/qspi-dummy-cycles
...
Differentiate alt and dummy cycles in QSPIF
2019-10-11 14:34:17 +01:00
Anna Bridge
ef4fe9852f
Merge pull request #11607 from fkjagodzinski/fix-usb_device-basic_test
...
Tests: USB: Move control endpoint buffers to heap
2019-10-07 16:53:50 +01:00
Anna Bridge
51680cb55e
Merge pull request #11601 from michalpasztamobica/tests_dns_timeouts_esp8266
...
DNS tests modification for ESP8266-specific scenario
2019-10-07 16:49:11 +01:00
Maciej Bocianski
d54186601b
hal qspi test: adjust min frequency for EFM32GG11
...
according to the driver limitations
2019-10-04 11:12:58 +02:00
Maciej Bocianski
746bdf9923
hal qspi test: fix frequency setting test
...
Prevent setting frequency below QSPI_MIN_FREQUENCY
2019-10-04 10:45:08 +02:00
Anna Bridge
eeb033f814
Merge pull request #11357 from kivaisan/offloaded_tlssocket_bg96
...
Offloaded TLSSocket and BG96 support for it
2019-10-03 11:54:32 +01:00
Kimmo Vaisanen
b6ebfeea2c
Cellular: Remove old deprecated tests
...
Cellular tests have been replaced with generic mbed-os netsocket and network interface tests.
2019-10-03 10:24:12 +03:00
Filip Jagodzinski
71d9bd9568
Tests: USB: Move control endpoint buffers to heap
...
This fixes the stack overflow error during the basic USB tests.
Update the ctrl_buf member of the USBTester and USBEndpointTester test
classes to be allocated on the heap. This saves 2 KB of a main stack.
2019-10-01 14:39:28 +02:00
Michal Paszta
3297445ac2
Increase the timeout for DNS tests as their number increased
2019-10-01 15:14:44 +03:00
Michal Paszta
d6b77da270
Increase timeout in DNS_TIMEOUTS test for ESP8266
...
The test floods the device with UDP requests (it skips the 100 ms delay to simulate instant timeout). ESP8266 starts responding with "busy p..." message. It needs more time to process the data and recover for subsequent tests.
2019-10-01 15:14:25 +03:00
Martin Kojtal
3787998069
Merge pull request #11582 from jamesbeyond/integration_test
...
TEST: change integration fs test format and mount order
2019-10-01 13:33:19 +02:00
Matthew Macovsky
baf375f8cb
Allow for arbitrary QSPI alt sizes
...
The QSPI spec allows alt to be any size that is a multiple of the
number of data lines. For example, Micron's N25Q128A uses only a
single alt cycle for all read modes (1, 2, or 4 bits depending on
how many data lines are in use).
2019-09-30 14:45:08 -07:00
Martin Kojtal
c385e141e2
Merge pull request #11535 from AnttiKauppila/DNS_cleanup
...
DNS manual cleanup mechanism added
2019-09-30 15:55:49 +02:00
Martin Kojtal
cd8753a1bd
Merge pull request #11540 from fkjagodzinski/test_update-usb_device-basic
...
Tests: USB: Update error handling in basic tests
2019-09-30 15:28:05 +02:00
Martin Kojtal
c3aedbf343
Merge pull request #11546 from fkjagodzinski/test_update-usb-python3
...
Tests: USB: Fix Python 3 compatibility
2019-09-30 15:11:54 +02:00
Antti Kauppila
f0eba17ca2
Added missing include
2019-09-30 14:50:26 +03:00
Filip Jagodzinski
5432bb9c36
Tests: USB: Remove outdated docs from basic test
2019-09-30 11:56:51 +02:00
Filip Jagodzinski
e0c87fccbe
Tests: USB: Update error formatting in basic test
2019-09-30 11:56:51 +02:00
Filip Jagodzinski
3c37831521
Tests: USB: Extract common code in basic test
2019-09-30 11:56:50 +02:00
Filip Jagodzinski
d4ef5f72e7
Tests: USB: Distinguish failure/error in basic test
2019-09-30 11:56:34 +02:00
Filip Jagodzinski
bfcfb6cf4a
Tests: USB: Clean up test failure output
...
Catch all pyusb errors and report failures to the device. Printing full
tracebacks was more confusing than useful.
2019-09-30 11:51:07 +02:00
Martin Kojtal
cead258064
Merge pull request #11483 from Tharazi97/k64f_reset_reason
...
Change reset_reason test timeout.
2019-09-30 10:41:37 +02:00
Filip Jagodzinski
2b4b64fafd
Tests: USB: Fix Python 3 compatibility
...
Use integer division explicitly in basic test.
Convert bytes to str for Python 3 in serial test.
2019-09-30 10:21:16 +02:00
Martin Kojtal
a1961de8a2
Merge pull request #11458 from fkjagodzinski/test_update-usb_device-fix_pyusb_backend
...
Tests: USB: Use libusb0 backend on Windows
2019-09-30 08:45:56 +02:00
int_szyk
36d010d796
Add watchdog lower limit timeout test
2019-09-30 08:10:14 +02:00
Anna Bridge
e39ba114e1
Merge pull request #11491 from Tharazi97/equeue_chain_problem
...
Equeue chain, add documentation of using equeue_destroy
2019-09-27 16:29:01 +01:00
Antti Kauppila
f26074c7be
Added missing include + cleaned up some tests
2019-09-27 11:13:20 +03:00
Qinghao Shi
4b18329094
TEST: change intefration fs test format and mount order
2019-09-27 00:28:28 +01:00
Kimmo Vaisanen
986204f269
Fix TLSSocket tests
...
- set certs and keys after socket open() as required by offloaded TLSSocket
- Added more checks for invalid handshake test and removed google.com test as
as some modems (e.g. BG96) might contains root CA for google.com
2019-09-25 09:25:33 +03:00
Antti Kauppila
6adc2440a3
DNS manual cleanup mechanism added
2019-09-20 10:20:48 +03:00
Martin Kojtal
8689c3fbc1
Merge pull request #11455 from hugueskamba/hk-add-ability-to-run-minimal-printf-floating-point-tests-manually
...
minimal-printf: Add capability to run floating point tests manually
2019-09-19 13:57:13 +02:00
Martin Kojtal
e134b22dab
Merge pull request #11473 from michalpasztamobica/gcc_warnings_fixes
...
Fix compilation warnings from GCC in netsocket/network tests
2019-09-19 10:36:16 +02:00
Martin Kojtal
926ffb0ede
Merge pull request #11440 from mtomczykmobica/ONME-4239
...
Add missing documentation about tls testing
2019-09-18 11:23:38 +02:00
int_szyk
dc5b9fba09
Tweak equeue chain tests
...
Changed the order of destroying queues because it is needed to destroy
queues in specified order when they are chained.
2019-09-16 13:35:28 +02:00
Michal Paszta
9ce69b6f7d
Fix compilation warnings from GCC
2019-09-16 12:11:26 +03:00
Martin Kojtal
ac7b851ba0
Merge pull request #11409 from dmaziec1/esp8266-nonblocking
...
esp8266 nonblocking connect/disconnect
2019-09-13 16:12:13 +02:00
int_szyk
b481e15eaa
Change reset_reason timeout.
...
Changed mbed_drivers-reset_reason and mbed_hal-reset_reason tests
because sometimes for some devices it was a little bit to short.
2019-09-13 13:29:56 +02:00
Marcin Tomczyk
df8e3c87fe
Add missing documentation about tls testing - review comments fixes
2019-09-12 07:51:30 +02:00
Martin Kojtal
2cd10fc786
Merge pull request #11421 from tymoteuszblochmobica/dns_cache
...
Dns synchronous cache fix
2019-09-11 14:44:32 +02:00
Filip Jagodzinski
01e6bc5827
Tests: USBHID: Use libusb0 backend on Windows
...
libusb0 supports all features used for testing. A newer version
(libusb1) does not have a complete implementation for Windows.
2019-09-11 14:00:30 +02:00
Filip Jagodzinski
db2995052f
Tests: USB: Use libusb0 backend on Windows
...
libusb0 supports all features used for testing. A newer version
(libusb1) does not have a complete implementation for Windows.
2019-09-11 14:00:22 +02:00
Hugues Kamba
5a1333e5ab
minimal-printf: Add capability to run floating point tests manually
2019-09-11 09:44:19 +01:00
Martin Kojtal
5e693778f4
Merge pull request #11441 from gpsimenos/gp-move-source-files
...
Organize source files and add Doxygen labels
2019-09-11 08:00:03 +02:00
Amanda Butler
4c3cca028e
Edit README.md
...
Edit document.
2019-09-10 15:20:55 -05:00
George Psimenos
bd95c53a4c
Move source files and add Doxygen labels
2019-09-10 14:31:24 +01: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
Martin Kojtal
1800632655
Merge pull request #11417 from Tharazi97/GR_LYCHEE-stats_CPU
...
Change stack sizes of threads used in tests. GR_LYCHEE failing CI
2019-09-09 14:38:06 +02:00
Marcin Tomczyk
da8dbca561
Add missing documentation about tls testing
2019-09-09 11:54:19 +02:00