]> git.madduck.net Git - etc/vim.git/blob - .vim/bundle/vim-python-pep8-indent/spec/make-coverage

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge commit '907d4569b0384e76f9e3ca4a6a7ee917712c031d' into tmp
[etc/vim.git] / .vim / bundle / vim-python-pep8-indent / spec / make-coverage
1 #!/bin/sh
2
3 set -ex
4
5 rm -f .coverage_covimerage
6 export PYTHON_PEP8_INDENT_TEST_PROFILE_BASE=/tmp/vim-python-pep8-profile
7
8 Xvfb :99 2>/dev/null >&2 &
9 export DISPLAY=:99
10
11 export VIMRUNNER_REUSE_SERVER=1
12
13 ret=0
14 for file in ./spec/indent/*_spec.rb; do
15   # shellcheck disable=SC2086
16   bundle exec rspec "$file" $RSPEC_OPTIONS || ret=1
17
18   for p in "${PYTHON_PEP8_INDENT_TEST_PROFILE_BASE}".*; do
19     covimerage write_coverage --append "$p"
20     rm "$p"
21     covimerage report -m
22   done
23 done
24 exit $ret