This patch change to run part of tests. ../vim -u NONE -U NONE -S runtest.vim test_channel.vim channel
Last argument is the pattern to match the name of test function. diff --git a/src/testdir/runtest.vim b/src/testdir/runtest.vim index 2d5e21c..3ea73ae 100644 --- a/src/testdir/runtest.vim +++ b/src/testdir/runtest.vim @@ -93,6 +93,9 @@ redir @q silent function /^Test_ redir END let s:tests = split(substitute(@q, 'function \(\k*()\)', '\1', 'g')) +if argc() > 1 + let s:tests = filter(s:tests, 'v:val=~argv(1)') +endif " Execute the tests in alphabetical order. for s:test in sort(s:tests) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
