Mercurial > vim
annotate src/testdir/if_ver-1.vim @ 17031:c3ca9d6be49a
Added tag v8.1.1515 for changeset 3e5ee8ce46719b42d3a2a30d3a19e18116772961
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 10 Jun 2019 15:00:08 +0200 |
parents | 94e37fd22556 |
children |
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 |