build: Add TEST_EXCLUDE_COMPONENTS

To exclude during the build process of unit tests some components.
This commit is contained in:
Konstantin Kondrashov
2018-06-28 14:54:15 +05:00
parent 82047ff181
commit bec14ad8ee
4 changed files with 10 additions and 5 deletions

View File

@@ -120,6 +120,7 @@ Change into tools/unit-test-app directory to configure and build it:
* `make TESTS_ALL=1` - build unit test app with tests for each component having tests in the ``test`` subdirectory.
* `make TEST_COMPONENTS='xxx'` - build unit test app with tests for specific components.
* `make TESTS_ALL=1 TEST_EXCLUDE_COMPONENTS='xxx'` - build unit test app with all unit tests, except for unit tests of some components. (For instance: `make TESTS_ALL=1 TEST_EXCLUDE_COMPONENTS='ulp mbedtls'` - build all unit tests exludes ulp and mbedtls components).
When the build finishes, it will print instructions for flashing the chip. You can simply run ``make flash`` to flash all build output.