Merge pull request #14375 from rajkan01/update_greentea_build_procedure

CMake: Update readme for greentea test build procedure
pull/14373/head
Martin Kojtal 2021-03-05 13:16:40 +00:00 committed by GitHub
commit 586f8893f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -94,13 +94,9 @@ Install prerequisites suggested in the previous section and follow the below ste
For example:
kvstore greentea test is dependent on `mbed-storage` and `mbed-storage-filesystemstore` library however you don't need to pass it via `MBED_TEST_LINK_LIBRARIES` as it is already target linked in greentea test CMakeLists.txt, at the same time some libraries and test cases are private to the application and if you want to use it with kvstore test then pass it with `MBED_TEST_LINK_LIBRARIES` command-line argument.
* Run the following command for the test suite to be recognised as a valid Mbed application
```
touch mbed-os.lib && ln -s /path/to/mbed-os mbed-os
```
* Run the following command for the configuration CMake module to be generated
```
mbedtools configure -t <TOOLCHAIN> -m <MBED_TARGET>
mbedtools configure -t <TOOLCHAIN> -m <MBED_TARGET> --mbed-os-path /path/to/mbed-os
```
* Build the test binary with the full profile
```