Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: tools/bash-completion

Issue 2454403002: Match more test targets for bash completion. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bash-completion
diff --git a/tools/bash-completion b/tools/bash-completion
index e86767f17026d9ada6dda7741b0509165ed97ad2..8cc3c73a8d8ed555812a49951fd3e9bdc4793ca8 100644
--- a/tools/bash-completion
+++ b/tools/bash-completion
@@ -80,7 +80,7 @@ fi
for gtest_test_executable in $(
cd $chrome_source;
- git ls-files '*/BUILD.gn' | xargs sed -ne 's/^test("\([^"]\+\)").*$/\1/p'
+ git ls-files '*/BUILD.gn' | xargs sed -ne 's/^.*test("\([^"]\+\)").*$/\1/p'
); do
complete -F _gtest_flag $gtest_test_executable
done
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698