• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k-takata / vim / 318
80%
master: 84%

Build:
Build:
LAST BUILD BRANCH: use-check-commands
DEFAULT BRANCH: master
Ran 07 May 2019 12:16PM UTC
Jobs 3
Files 89
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
318

push

travis-ci

k-takata
win32: Fix command execution without vimrun.exe

`:help win32-vimrun` says that:

> If "vimrun" cannot be found, the command is executed directly, but
> then the DOS window closes immediately after the external command
> has finished.

This implies that external commands can be executed even without
vimrun.exe.  However, currently `:echo system('dir')` causes E484 if
vimrun.exe doesn't exist.  The vimrun.exe itself uses `_wsystem()` to
execute the external command.  It means that the command line is parsed
twice by cmd.exe; first by `cmd /c` because of the 'shell' and
'shellcmdflag' options, second by _wsystem() in vimrun.exe.  However, if
the vimrun.exe doesn't exists, the command line is parsed only once.
This difference caused the E484 error.

An easy way to fix this is using `cmd /c cmd /c` to execute external
commands if the vimrun.exe doesn't exist.  The command line is parsed
twice by cmd, so the problem doesn't occur.

105081 of 131736 relevant lines covered (79.77%)

557909.54 hits per line

Jobs
ID Job ID Ran Files Coverage
10 318.10 (BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'") 07 May 2019 12:16PM UTC 0
81.1
Travis Job 318.10
11 318.11 (BUILD=yes TEST="scripttests test_libvterm" COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=no "CONFOPT='--enable-perlinterp --enable-pythoninterp --enable-python3interp --enable-rubyinterp --enable-luainterp --enable-tclinterp'") 07 May 2019 12:17PM UTC 0
80.08
Travis Job 318.11
12 318.12 (BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes) 07 May 2019 12:19PM UTC 0
2.41
Travis Job 318.12
Source Files on build 318
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #318
  • bb75e21c on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc