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_log_basic | |
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_log_basic')
-rw-r--r-- | pw_log_basic/BUILD.gn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pw_log_basic/BUILD.gn b/pw_log_basic/BUILD.gn index a478ea21e..e8dd52a1e 100644 --- a/pw_log_basic/BUILD.gn +++ b/pw_log_basic/BUILD.gn @@ -17,6 +17,7 @@ import("//build_overrides/pigweed.gni") import("$dir_pw_build/module_config.gni") import("$dir_pw_build/target_types.gni") import("$dir_pw_docgen/docs.gni") +import("$dir_pw_unit_test/test.gni") declare_args() { # The build target that overrides the default configuration options for this @@ -75,3 +76,6 @@ pw_source_set("pw_log_basic.impl") { pw_doc_group("docs") { sources = [ "docs.rst" ] } + +pw_test_group("tests") { +} |