Mercurial > vim
annotate src/testdir/if_ver-1.vim @ 17952:4754339d9aee v8.1.1972
patch 8.1.1972: no proper test for getchar()
Commit: https://github.com/vim/vim/commit/5d712e4672c6c8cf7f35cfb7d8eb7e8aa24062ac
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 3 23:37:01 2019 +0200
patch 8.1.1972: no proper test for getchar()
Problem: No proper test for getchar().
Solution: Add a test with special characters.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 03 Sep 2019 23:45:04 +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 |