Commit Graph

563 Commits (10625b35b1818520deb5cd51369265fcffcc4022)

Author SHA1 Message Date
Rajkumar Kanagaraj 10625b35b1 CMake: Update hal and platform stub CMake linker options for coverage
- Armclang is not working when we add gcov as target_link_libraries,
modified to pass as linker options with --coverage so it can work armclang and gcc
2021-05-11 04:27:09 -07:00
Rajkumar Kanagaraj f93f71b260 CMake: Update build tools python modules to pick refactored way of unittest CMake
- Update mbed_unittest python module to pick unittest from mbed os root
CMake configuration file
- Add BUILD_TESTING flag ON in test python module
2021-05-11 02:49:03 -07:00
Rajkumar Kanagaraj a88f43f367 CMake: Update mbed os, unittest CMake and add CMAKE_CROSSCOMPILING guard
- Add a new MbedOS project in mbed os root CMake which can be used along with
  BUILD_TESTING conditional check for enabling the unittest build
- Update UNITTEST CMake for setting the CMake configuration like c, cxx flags etc.,
- Add if CMAKE_CROSSCOMPILING conditional check wherever target configuration check
  and toolchain configuration to avoid such configuration gets included for unittest build.
2021-05-11 02:49:03 -07:00
Paul Szczepanek 452c45b37a CMake: Update target_h stub headers
- Avoid using cmsis headers as it brings more redundant dependency into unittest build and for unittest build, all the required OS flags can provide from mbed rtos types header so replaced cmsis header with mbed os types header
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj 9e6217924c CMake: Remove duplicate documents
- Remove the readme as it is a duplicate content of official document
  https://os.mbed.com/docs/mbed-os/v6.9/debug-test/unit-testing.html
2021-05-11 02:29:56 -07:00
Rajkumar Kanagaraj d9db59f38c sort stubs into libraries 2021-05-11 02:29:56 -07:00
Vincent Coubard 70920d442f Lora: Add LoRaWANTimer::clear in stubs 2021-03-12 09:48:50 +00:00
Ladislas de Toldi 6335775c58
Fix sys/stat.h issue for unit tests on macOS 2021-03-10 10:41:31 +01:00
Paul Szczepanek 1fd8818dcd update version in readme 2021-01-27 12:48:57 +00:00
Paul Szczepanek 2fe6c7aa52 upgrade gtest to 1.10 2021-01-26 17:25:44 +00:00
Lingkai Dong b3c13bbea9 Update UNITTEST for kvstore 2020-12-09 17:20:42 +00:00
Arto Kinnunen d001b7a441 Update unittests 2020-11-20 10:06:57 +02:00
Martin Kojtal 468372e759
Merge pull request #13492 from talorion/fix-PwmOut-resets-after-suspend
Fix pwm out resets after suspend
2020-09-10 12:40:18 +01:00
talorion 191ec42dd6 pwmout - UNITTESTS - add read methods for period and pulsewidth 2020-09-02 13:39:16 +02:00
Lingkai Dong af1950fb16 Add include/ path for mbed-trace 2020-09-02 12:30:59 +01:00
Lingkai Dong a88438ce04 Move mbed-trace into platform 2020-09-02 12:30:59 +01:00
Rajkumar Kanagaraj fafa0c41ed Update UNITTESTS header reference 2020-08-25 16:06:56 +01:00
Rajkumar Kanagaraj 07511d39b1 Fix UNITTESTS build failure 2020-08-14 12:32:50 +01:00
Ashok Rao 9977da64af Incorporating review comments 2020-08-12 11:18:39 +01:00
Ashok Rao da9fd2a11b Mbed OS will soon be changing directory structure to the below:
```
connectivity
├── netsocket
├── lorawan
│   ├── mbed_lib.json // nanostack-interface's mbed_lib.json
│   ├── lorastack
│   ├── tests
├── nanostack
├── cellular
├── ...

```

This PR is a part of a wider \connectivity refactoring and implements the above new directory structure for \lorawan.
2020-08-12 11:06:36 +01:00
George Psimenos 54d8fe74ca Update mbedtls paths 2020-08-11 11:32:08 +01:00
Ashok Rao 8d7c7555dc Fixing UNITTESTS 2020-08-05 17:09:21 +01:00
Anna Bridge c85b76ad05
Merge pull request #13298 from ashok-rao/platform-refactor
Refactoring \platform directory
2020-08-05 13:32:42 +01:00
Ashok Rao a78554ebfa Fixing .astyleignore conflict 2020-07-31 15:50:03 +01:00
George Psimenos 973c1dc2ff Move drivers unit tests 2020-07-31 10:04:36 +01:00
George Psimenos 99803be98f Relocate platform unit tests 2020-07-28 10:16:47 +01:00
George Psimenos 76f37fb2bc Restructure events directory & move tests 2020-07-28 09:17:19 +01:00
Martin Kojtal 6bd52719f6
Merge pull request #13335 from rajkan01/netsocket_dir_restructure
Restructure netsocket directory
2020-07-27 14:35:27 +01:00
Rajkumar Kanagaraj 59072e9f58 Update documentation reference 2020-07-23 08:31:52 -07:00
Martin Kojtal 1d9c13ed5b
Merge pull request #13307 from rajkan01/storage_kv_dir_resturcture
Restructure storage kvstore directory
2020-07-23 15:59:07 +01:00
Rajkumar Kanagaraj 21325e281a Update netsocket header and source reference in other libraries 2020-07-23 06:22:15 -07:00
Rajkumar Kanagaraj b1a5e1b72d Move Unittests closure to library 2020-07-23 06:15:13 -07:00
Lingkai Dong 22ea1e8846 Update unittest.cmake files for cellular 2020-07-22 11:06:23 +01:00
Lingkai Dong 5905438fb4 Move cellular unit tests into the library 2020-07-22 11:06:23 +01:00
Lingkai Dong 2b24a7a31e Update paths to cellular framework 2020-07-22 11:06:23 +01:00
Rajkumar Kanagaraj d956116c36 Update greentea config, header reference 2020-07-20 07:33:52 -07:00
Rajkumar Kanagaraj bb14b9ff8f move greentea and UNITTESTS closure to library 2020-07-20 07:28:53 -07:00
Martin Kojtal 3a8989a247
Merge pull request #13300 from rajkan01/storage_fsdir_restructure
Restructure storage filesystem directory
2020-07-20 15:19:17 +01:00
Martin Kojtal 2b60c871d8
Merge pull request #13264 from ashok-rao/rtos-refactor
Moving around a few items within \rtos
2020-07-20 10:39:19 +01:00
Rajkumar Kanagaraj f58c5631c0 Fix UNITTESTS issue 2020-07-19 10:02:32 -07:00
Rajkumar Kanagaraj 41f0796484 Move greentea test closure to library 2020-07-17 12:42:11 -07:00
Anna Bridge ca2f980661
Merge pull request #13273 from rajkan01/storage_rb_dir_restructure
Restructure storage blockdevice directory
2020-07-17 15:56:33 +01:00
Anna Bridge f5801aa681
Merge pull request #13254 from LDong-Arm/move_nanostack-libservice
Move nanostack-libservice into connectivity/libraries
2020-07-17 14:40:50 +01:00
Rajkumar Kanagaraj 3bcb4eb260 Unittests and Astyle:
- Update the header reference and source reference in cmake
- Update astyleignore to ignore blockdevice UNITTESTS
- Removed the redundant debug log
2020-07-17 03:12:03 -07:00
Rajkumar Kanagaraj d47689be8e Move storgae unittests 2020-07-17 03:10:58 -07:00
Anna Bridge ab5af1e4f0
Merge pull request #13244 from rajkan01/storage_restructure_initial
Move storage from features into mbed-os root directory
2020-07-17 10:52:56 +01:00
Rajkumar Kanagaraj fdaaffdc7a Stroage unittest directory restructure
- Move UNITTESTS/features/storage to UNITTESTS/storage
- update the .cmake files to refer the new directory
2020-07-10 14:59:53 +01:00
Lingkai Dong 08aec8b61c UNITTESTS: update paths to nanostack-libservice 2020-07-08 17:25:39 +01:00
Lingkai Dong a884f1ad43 UNITTESTS: Add comment for glob pattern 2020-07-08 16:39:29 +01:00
Lingkai Dong 817ff8ed8f Allow unittest.cmake from the whole mbed-os 2020-07-08 16:39:29 +01:00