aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-27 10:55:11 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-03-27 10:58:01 -0400
commit423f3bc3e2d6aa8245a2cda1c4e7663387383ab7 (patch)
treedefcac55febffa177c437886bd861f2fa68d9748 /src
parenta7e0b0edbc2143b4efd6beda0498ef18789a2bdf (diff)
downloadrneovim-423f3bc3e2d6aa8245a2cda1c4e7663387383ab7.tar.gz
rneovim-423f3bc3e2d6aa8245a2cda1c4e7663387383ab7.tar.bz2
rneovim-423f3bc3e2d6aa8245a2cda1c4e7663387383ab7.zip
test/old: skip Test_strptime() on Windows
POSIX strptime does not exist in Windows. There is a C++ workaround but I don't know how to use it. Julia ported BSD's "strptime()" but I can't compile the file or embed the relevant code into src/nvim/os/time.c I cannot use "#ifdef" in eval.lua because of function hashing. "#ifdef" is required to point "strptime()" to NULL such that "CheckFunction strptime" fails.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_functions.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim
index 145da3070b..555f549743 100644
--- a/src/nvim/testdir/test_functions.vim
+++ b/src/nvim/testdir/test_functions.vim
@@ -217,6 +217,7 @@ endfunc
func Test_strptime()
CheckFunction strptime
+ CheckNotMSWindows
if exists('$TZ')
let tz = $TZ