diff options
author | Wyatt Hepler <hepler@google.com> | 2022-07-26 22:43:15 +0000 |
---|---|---|
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-26 22:43:15 +0000 |
commit | 8f425499e1bb1288e29cda0b6d4bef01d389ff1c (patch) | |
tree | e96700030c79588ef3a3f6c57752a4356adccd89 /pw_module | |
parent | 63271a2a6f282643b67644be562b3995eab385ad (diff) | |
download | pigweed-8f425499e1bb1288e29cda0b6d4bef01d389ff1c.tar.gz |
pw_build: Require "tests" and "docs" targets in all modules
- Allow empty pw_test_group targets.
- Create empty pw_test_group targets for modules that need them.
- Create stub docs pages for modules that are missing them.
- Require odules to provide "tests" and "docs" targets by assuming
they're present in the module list generation code.
- Update the generated modules list.
Change-Id: I5a67741afa0a8a5d2e2ba508435027f750a471c4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/103487
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Diffstat (limited to 'pw_module')
-rw-r--r-- | pw_module/BUILD.gn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pw_module/BUILD.gn b/pw_module/BUILD.gn index 09696722b..45e4c14f1 100644 --- a/pw_module/BUILD.gn +++ b/pw_module/BUILD.gn @@ -15,7 +15,11 @@ import("//build_overrides/pigweed.gni") import("$dir_pw_docgen/docs.gni") +import("$dir_pw_unit_test/test.gni") pw_doc_group("docs") { sources = [ "docs.rst" ] } + +pw_test_group("tests") { +} |