roll: pigweed pw_compilation_testing: Consolidate generic (non-GN) functionality

- Move more code into the generic enumerate_tests and run_test functions
  to prepare for a Bazel implementation.
- Only check if a test is disabled if compilation succeeds. This speeds
  up tests since it removes a preprocessor invocation from most tests.

Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/322873
Original-Revision: 2c0b581240be92bda0d6377a0e3a74f800c75406

Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed
Rolled-Commits: a764d26aefecc6..2c0b581240be92
Roll-Count: 1
Roller-URL: https://cr-buildbucket.appspot.com/build/8703426805973555057
GitWatcher: ignore
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I6f626edd5d22a12de3883b49af1c4aa24febe434
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/323516
Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com>
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
1 file changed
tree: 154df4321ca132262a122125b8d145fb689a8670
  1. .github/
  2. .vscode/
  3. apps/
  4. device/
  5. modules/
  6. system/
  7. targets/
  8. tools/
  9. web_app/
  10. .bazelignore
  11. .bazelrc
  12. .bazelversion
  13. .black.toml
  14. .buildifier.json
  15. .clang-format
  16. .clang-tidy
  17. .clangd.shared
  18. .gitignore
  19. .pw_console.yaml
  20. .pylintrc
  21. AUTHORS
  22. BUILD.bazel
  23. CONTRIBUTING.md
  24. LICENSE
  25. MODULE.bazel
  26. MODULE.bazel.lock
  27. mypy.ini
  28. OWNERS
  29. pigweed.json
  30. pw
  31. README.md
  32. REPO.bazel
  33. workflows.json
README.md

Sense

git clone https://pigweed.googlesource.com/pigweed/showcase/sense

Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.

Please visit Sense: An interactive tour through Pigweed to get started.