We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d583f55 commit 24ca919Copy full SHA for 24ca919
test-ruleset-coverage.sh
@@ -6,9 +6,11 @@
6
cd $(dirname $0)
7
TMP=`mktemp`
8
trap 'rm "$TMP"' EXIT
9
+# Git log gives us all changed files. Pipe that through ls to eliminate files
10
+# that have been deleted.
11
if ! git log --name-only --date=local --since=2015-02-05 --pretty=format: \
12
src/chrome/content/rules/ | sort -u | \
- xargs python2.7 https-everywhere-checker/src/https_everywhere_checker/check_rules.py \
13
+ xargs ls 2>/dev/null | xargs python2.7 https-everywhere-checker/src/https_everywhere_checker/check_rules.py \
14
https-everywhere-checker/checker.config.sample ; then
15
echo "Ruleset test coverage was insufficient. Please add <test url=...> tags " \
16
"to ruleset with additional HTTP URLs to test rewriting and fetching."
0 commit comments