annotate src/testdir/if_ver-1.vim @ 18404:b1a10a018f83 v8.1.2196

patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates Commit: https://github.com/vim/vim/commit/d53ebfc6246b2f29752adbda13cd2c11acca285a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 20 21:47:20 2019 +0200 patch 8.1.2196: MS-Windows: running tests with MSVC lacks updates Problem: MS-Windows: running tests with MSVC lacks updates. Solution: Improve running individual tests on MS-Windows. (closes https://github.com/vim/vim/issues/4922)
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Oct 2019 22:00:03 +0200
parents 94e37fd22556
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11999
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " Print all interface versions and write the result into if_ver.txt.
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " For Ubuntu. Part 1.
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 redir! > if_ver.txt
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 if 1
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6 echo "*** Interface versions ***"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 echo "\nLua:"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 lua print(_VERSION)
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 " echo "\nLuaJIT:"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 " lua print(jit.version)
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 if has('mzscheme')
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 echo "\nMzScheme:"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 mzscheme (display (version))
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
14 endif
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
15 echo "\nPerl:"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
16 perl print $^V
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
17 echo "\nRuby:"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
18 ruby print RUBY_VERSION
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
19 if has('tcl')
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
20 echo "\nTcl:"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
21 tcl puts [info patchlevel]
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
22 endif
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
23 echo "\nPython 2:"
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
24 python import sys; print sys.version
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
25 endif
94e37fd22556 patch 8.0.0880: Travis uses an old Ubuntu version
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
26 redir END