aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-05-20 08:04:36 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-07-01 05:40:53 -0300
commit67e45e185219d1b1a2dabb12967837fcfdcef429 (patch)
treeffe7fd518a965791d7b5c0902400acb02df6c26a
parentc8c5af5a7a53f015c2836d911511a8fec4676ff9 (diff)
downloadrneovim-67e45e185219d1b1a2dabb12967837fcfdcef429.tar.gz
rneovim-67e45e185219d1b1a2dabb12967837fcfdcef429.tar.bz2
rneovim-67e45e185219d1b1a2dabb12967837fcfdcef429.zip
test: Don't run legacy test 87
The python3 emulation layer doesn't work well enough to run that test. Also add notes to test86/test87 explaining why.
-rw-r--r--src/nvim/testdir/test86.in3
-rw-r--r--src/nvim/testdir/test87.in5
2 files changed, 7 insertions, 1 deletions
diff --git a/src/nvim/testdir/test86.in b/src/nvim/testdir/test86.in
index 958bd57e29..41d9a2fa32 100644
--- a/src/nvim/testdir/test86.in
+++ b/src/nvim/testdir/test86.in
@@ -1,5 +1,8 @@
Tests for various python features. vim: set ft=vim :
+This test is not run in Neovim(see the has('nvim') check below) because the
+python compatibility layer is not complete.
+
NOTE: This will cause errors when run under valgrind.
This would require recompiling Python with:
./configure --without-pymalloc
diff --git a/src/nvim/testdir/test87.in b/src/nvim/testdir/test87.in
index cad778e858..58f9ac6418 100644
--- a/src/nvim/testdir/test87.in
+++ b/src/nvim/testdir/test87.in
@@ -1,9 +1,12 @@
Tests for various python features. vim: set ft=vim :
+This test is not run in Neovim(see the has('nvim') check below) because the
+python3 compatibility layer is not complete.
+
STARTTEST
:so small.vim
:set noswapfile
-:if !has('python3') | e! test.ok | wq! test.out | endif
+:if !has('python3') || has('nvim') | e! test.ok | wq! test.out | endif
:lang C
:fun Test()
:py3 import vim