diff options
author | Firas Sammoura <fsammoura@google.com> | 2022-10-03 18:16:39 +0000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-10-04 16:39:33 +0000 |
commit | 829907956461b048e3d690c9ee6f85df58354e99 (patch) | |
tree | b7ab7a0efd7a9048da9b70e6d10f100e4b2dc492 /docs | |
parent | fa6faacbd07365c336602a21d92b6313a5eb1ba6 (diff) | |
download | chrome-ec-829907956461b048e3d690c9ee6f85df58354e99.tar.gz |
docs: Add instructions for modifying the config file
Add a section that describes how to add configuration settings for a
specific test (example: definition).
BRANCH=None
BUG=b:250625014
TEST=Preview Document
Signed-off-by: Firas Sammoura <fsammoura@google.com>
Change-Id: I79d40e9fc97bf6f1bf98ed68d8090cb00a963ae9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3932867
Reviewed-by: Craig Hesling <hesling@chromium.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/unit_tests.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/unit_tests.md b/docs/unit_tests.md index 1d9da40f9d..e24b6effdf 100644 --- a/docs/unit_tests.md +++ b/docs/unit_tests.md @@ -186,6 +186,17 @@ Make sure you test shows up in the "host" tests: host-my_test run-my_test ``` +### Test Config File + +Add any test-specific configurations to the [test_config.h](https://source.chromium.org/chromiumos/chromiumos/codesearch/+/HEAD:src/platform/ec/test/test_config.h) file: + +```c +#ifdef TEST_<my_test> +/* + * Add test-specific configurations here. + */ +#endif +``` ### Build and Run |