mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-21 06:12:09 +00:00
01197109b2
Previously, Python tests were executed using setup.py test. There are a few issues with this. First, with the current setup, tests are executed twice for some reason. Occasionally other odd errors occur. Also, setuptools has deprecated the test command for setup.py and states that it will be removed in a future version. This change discovers tests by finding the package directories of affected files and searching for tests with customizable patterns ('*_test.py' by default). This approach is simpler, faster, and no longer relies on setuptools or unittest. Since setup.py test is no longer used, this change removes test suite discovery from Pigweed's setup.py files. Change-Id: I3de6c5d05ea5e38eea27b0e3aca956fe468035be Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12662 Reviewed-by: Rob Mohr <mohrr@google.com> Commit-Queue: Wyatt Hepler <hepler@google.com> |
||
---|---|---|
.. | ||
lm3s6965evb_qemu_utils | ||
setup.py |