view src/testdir/if_ver-1.vim @ 16192:1ab0d1f7807a v8.1.1101

patch 8.1.1101: signals test may fail in the GUI commit https://github.com/vim/vim/commit/690a905a0199f5ff733e5a12be9ba94ae6043ef4 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 2 21:45:41 2019 +0200 patch 8.1.1101: signals test may fail in the GUI Problem: Signals test may fail in the GUI. Solution: Skip the test for the GUI. (Yee Checng Chin, closes https://github.com/vim/vim/issues/4202)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Apr 2019 22:00:05 +0200
parents 94e37fd22556
children
line wrap: on
line source

" Print all interface versions and write the result into if_ver.txt.
" For Ubuntu. Part 1.

redir! > if_ver.txt
if 1
  echo "*** Interface versions ***"
  echo "\nLua:"
  lua print(_VERSION)
  " echo "\nLuaJIT:"
  " lua print(jit.version)
  if has('mzscheme')
    echo "\nMzScheme:"
    mzscheme (display (version))
  endif
  echo "\nPerl:"
  perl print $^V
  echo "\nRuby:"
  ruby print RUBY_VERSION
  if has('tcl')
    echo "\nTcl:"
    tcl puts [info patchlevel]
  endif
  echo "\nPython 2:"
  python import sys; print sys.version
endif
redir END