From 67e45e185219d1b1a2dabb12967837fcfdcef429 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Wed, 20 May 2015 08:04:36 -0300 Subject: 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. --- src/nvim/testdir/test86.in | 3 +++ src/nvim/testdir/test87.in | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 -- cgit