diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-12-27 13:49:24 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-12-27 13:49:24 +0100 |
commit | 0c1e3744ff0cd6c17af773046b876b428ff3dded (patch) | |
tree | 9e438566d524c8d980b5bc853915d90425999369 /src/testdir/test_options.vim | |
parent | 5666fcd0bd794dd46813824cce63a38bcae63794 (diff) | |
download | vim-git-0c1e3744ff0cd6c17af773046b876b428ff3dded.tar.gz |
patch 8.2.0047: cannot skip tests for specific MS-Windows platformv8.2.0047
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
Diffstat (limited to 'src/testdir/test_options.vim')
-rw-r--r-- | src/testdir/test_options.vim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/testdir/test_options.vim b/src/testdir/test_options.vim index 65600eea9..048356ae7 100644 --- a/src/testdir/test_options.vim +++ b/src/testdir/test_options.vim @@ -389,6 +389,15 @@ func Test_set_values() endif endfunc +func Test_renderoptions() + " Only do this for Windows Vista and later, fails on Windows XP and earlier. + " Doesn't hurt to do this on a non-Windows system. + if windowsversion() !~ '^[345]\.' + set renderoptions=type:directx + set rop=type:directx + endif +endfunc + func ResetIndentexpr() set indentexpr= endfunc |