diff options
-rw-r--r-- | appengine/.testignore | 0 | ||||
-rwxr-xr-x | buildbot/run_tests | 8 | ||||
-rw-r--r-- | third_party/.testignore | 0 |
3 files changed, 7 insertions, 1 deletions
diff --git a/appengine/.testignore b/appengine/.testignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/appengine/.testignore diff --git a/buildbot/run_tests b/buildbot/run_tests index 3b0f42292..ff6a229c7 100755 --- a/buildbot/run_tests +++ b/buildbot/run_tests @@ -120,8 +120,14 @@ fi if [[ $# -eq 0 ]]; then # List all unit test scripts that match the given pattern. + prune_tests=( + $(find "${CHROMITE_PATH}" -name .testignore \ + -printf '-path %h -prune -o ') + ) all_tests=( - $(find "${CHROMITE_PATH}" -name '*_unittest.py' -printf '%P ') + $(find "${CHROMITE_PATH}" \ + ${prune_tests[*]} \ + -name '*_unittest.py' -printf '%P ') ) set -- "${all_tests[@]}" fi diff --git a/third_party/.testignore b/third_party/.testignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/third_party/.testignore |