aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Matt Kwong <mattkwong@google.com>2017-08-23 11:43:40 -0700
committerGravatar Matt Kwong <mattkwong@google.com>2017-09-11 19:17:32 -0700
commit6d11e9092667565a181d051932e04c50ab1db099 (patch)
tree653291b554c5d18719e8d58fc38f0e67560b1089 /tools/run_tests
parent969936bdd871565640636b7d22d680cfd98d3853 (diff)
Add Kokoro test filtering for MacOS/Windows
Diffstat (limited to 'tools/run_tests')
-rw-r--r--tools/run_tests/python_utils/filter_pull_request_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/python_utils/filter_pull_request_tests.py b/tools/run_tests/python_utils/filter_pull_request_tests.py
index 032c0701e2..4ad981237b 100644
--- a/tools/run_tests/python_utils/filter_pull_request_tests.py
+++ b/tools/run_tests/python_utils/filter_pull_request_tests.py
@@ -128,7 +128,7 @@ def _get_changed_files(base_branch):
# Get file changes between branch and merge-base of specified branch
# Not combined to be Windows friendly
base_commit = check_output(["git", "merge-base", base_branch, "HEAD"]).rstrip()
- return check_output(["git", "diff", base_commit, "--name-only"]).splitlines()
+ return check_output(["git", "diff", base_commit, "--name-only", "HEAD"]).splitlines()
def _can_skip_tests(file_names, triggers):