summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appengine/.testignore0
-rwxr-xr-xbuildbot/run_tests8
-rw-r--r--third_party/.testignore0
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