summaryrefslogtreecommitdiff
path: root/src/testdir/test_netbeans.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-06-13 22:19:53 +0200
committerBram Moolenaar <Bram@vim.org>2019-06-13 22:19:53 +0200
commitb0f94c1ff34d27d33aa9f96204985ea29c2eb0a1 (patch)
tree257407d2c2c31bff552c749fd9296642fc7f55c2 /src/testdir/test_netbeans.vim
parent8d241040310a6a27c28d62fa04558f2bfaa5ebde (diff)
downloadvim-git-b0f94c1ff34d27d33aa9f96204985ea29c2eb0a1.tar.gz
patch 8.1.1524: tests are silently skippedv8.1.1524
Problem: Tests are silently skipped. Solution: Throw an exception for skipped tests in more places.
Diffstat (limited to 'src/testdir/test_netbeans.vim')
-rw-r--r--src/testdir/test_netbeans.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testdir/test_netbeans.vim b/src/testdir/test_netbeans.vim
index 66177ada7..836bddff3 100644
--- a/src/testdir/test_netbeans.vim
+++ b/src/testdir/test_netbeans.vim
@@ -1,15 +1,14 @@
" Test the netbeans interface.
if !has('netbeans_intg')
- finish
+ throw 'Skipped, netbeans_intg feature missing'
endif
source shared.vim
let s:python = PythonProg()
if s:python == ''
- " Can't run this test.
- finish
+ throw 'Skipped, python program missing'
endif
" Run "testfunc" after sarting the server and stop the server afterwards.