Commit Graph

32 Commits (4c94b4b49524973999c95c76df121944ae6e6b6e)

Author SHA1 Message Date
jeromecoutant 2cc72e7342 Remove LED2 in integration tests
- LED1 is sufficient
- Use MBED_CONF_APP_NO_LED json config if LED1 doesn't exist
2020-07-01 15:59:49 +02:00
Marcelo Salazar 4083469d09 Remove Ublox targets 2020-05-06 16:39:29 +01:00
Marcelo Salazar 92cbd9a734 Rename ADV_WISE_1570 target 2020-04-30 09:56:35 +01:00
Marcelo Salazar ee8231ab9d Remove USI_WM_BN_BM_22 based targets 2020-04-20 16:55:35 +01:00
MarceloSalazar e43ece13aa Rename EMW3166 target 2020-04-09 15:32:41 +01:00
Veijo Pesonen 61d70ae967 tests-integration-fs: CY8CPROTO_062_4343W regression
Created a new test case to reveal an issue with CY8CPROTO_062_4343W
which was earlier exposed by two intervening test cases.
2020-03-31 18:43:11 +03:00
Veijo Pesonen 7d2f005ca3 tests-integration-fs: makes tests independent
Cleans up the created files between test cases to avoid out of space
situations.
2020-03-31 18:42:46 +03:00
Qinghao Shi 0e67d1c258 TEST: fix typo 2020-03-30 20:55:38 +01:00
Qinghao Shi 8468fbe798 TEST: add RTOS macro to guard integration tests 2020-03-30 20:28:22 +01:00
Veijo Pesonen 41632891c3 tests-integration-*: target configuration cleanups
Stops duplication of target.components_add config parameter.
2020-03-19 18:43:18 +02:00
Veijo Pesonen d46c397e74 tests-integration-*: Stops using deprecated wait()
Additionally removes some dead code.
2020-03-19 18:43:18 +02:00
Veijo Pesonen 148cf851c2 tests-integration-*: fixes traces 2020-03-19 18:43:18 +02:00
Veijo Pesonen 9dbd5ed63a tests-integration-net-single: fix build error
Stops using deprecated TCPSocket constructors and string-based APIs.
2020-03-02 15:23:41 +02:00
Shuopeng Deng 6cee24d078 increamed qspi size for cypress integration fs tests
The fs integration tests requires about 10 little fs blocks.
The qspi erase size is 256K, with the default size of 2MB, this only
allocates 8 little fs blocks. The tests need 10 little fs blocks to
work.
Also Added no-led tags to cypress board that only have 1 LED. The
fs integration tests blinks 2 LEDs.
2019-12-05 10:54:33 -08:00
Veijo Pesonen 060a1c6df7 NVStore: deprecated implementation removed 2019-12-03 15:36:31 +02:00
Qinghao Shi 01d35911a6 TESTS: move include trace to test headers 2019-11-29 15:28:46 +00:00
Qinghao Shi 0971254ced TESTS: remove include missing header 2019-11-29 15:26:37 +00:00
MarceloSalazar a542e02085 Split integration tests in fs/net 2019-11-26 09:51:39 +00:00
Chris Trowbridge a1edbb9099 Switch to using mbed-trace for greentea test debug output 2019-11-15 11:18:13 -05:00
RAJKUMAR KANAGARAJ 9e994cfe38 Incorporated review comments 2019-11-08 06:49:28 -08:00
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
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
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
Qinghao Shi 4b18329094 TEST: change intefration fs test format and mount order 2019-09-27 00:28:28 +01:00
Qinghao Shi 701e1a7589 Intefrations Tests: remove docs 2019-08-23 22:15:27 +01:00
Qinghao Shi 8d7c100fa1 fix docs issue 2019-08-22 10:17:52 +01:00
Qinghao Shi e2a77a6a33 TEST: add integration tests for connectivity and storage 2019-08-21 15:09:29 +01:00
Martin Kojtal e52bb68f93 tests: astyle fix
All tests should comply to our coding standard now
2018-08-03 10:23:38 +01:00
Christopher Haster 4cad764162 Added copyright header to all tests 2017-08-07 12:02:33 -05:00
Brian Daniels 6e223e311c Removing threaded_blink test (duplicate of basic rtos test) 2016-08-30 14:37:30 -05:00
Vincent Coubard 80ead8ca1a Fix behavior when mbed-os RTOS tests are build while the system is single
threaded.

For mbed micro, if the MBED_RTOS_SINGLE_THREAD is defined then the
compilation of the test will fail with the info
	[NOT_SUPPORTED] test not supported

This patch bring this behavior to mbed-os RTOS tests.
2016-07-25 11:41:00 +01:00
Brian Daniels a9eb39dee4 Adding test frameworks and test sources
This commit adds the following test frameworks:

- `greentea-client` (https://github.com/ARMmbed/greentea-client)
  - This framework provides a key-value api for communicating with the
    greentea test tool (https://github.com/ARMmbed/greentea)
- `unity` (https://github.com/ARMmbed/unity)
  - This framework provides test assert macros that can be used when
    writing test cases
- `utest` (https://github.com/ARMmbed/utest)
  - This framework allows you to execute a series of test cases with
    reporting that works with the greentea test tool
    (https://github.com/ARMmbed/greentea)

The following changes were made when bringing these frameworks into the
tree:

- References to `mbed_drivers/mbed.h` within utest's tests were migrated
  to `mbed.h`
- The yotta file `module.json` was removed from `greentea-client` and
  `unity`
  - `coverage.json` was also removed from `greentea-client`
- `.gitignore` and `.gitattributes` were removed from `greentea-client`
- Apache 2.0 license files were removed from `greentea-client`

This also brings in a number of tests that have been newly written or ported from various sources:

- `TESTS/integration` - Very basic tests, used to check if testing frameworks are working correctly
- `TESTS/mbed_drivers` (Thanks @PrzemekWirkus!) - TESTS ported from mbed OS 3.0 (https://github.com/ARMmbed/mbed-drivers)
- `TESTS/mbedmicro-mbed` (Thanks @PrzemekWirkus!) - Tests that weren't covered by `TESTS/mbed_drivers` that currently live in `libraries/tests/mbed`
- `TESTS/mbedmicro-rtos-mbed` (Thanks @PrzemekWirkus!) - Ported tests that currently live in `libraries/tests/rtos/mbed`
- `TESTS/storage_abstraction` (Thanks @rgrover!) - Tests for the storage_abstraction hal
2016-07-20 12:41:26 -05:00