| Hi, On Jan 27, 2015, at 22:09, Bram Moolenaar <[email protected]> wrote:
With this patch, test_eval is doomed to fail if vim under the test is not featured with clipboard (e.g., vim built with the configure options —with-features=normal and —with-gui=no). Attached are two patches to fix it. testdir.patch separates the clipboard test from the other tests of test_eval.in, by adding new test files called test_eval_clipboard.{in,ok} to the existing test files, so that vim, even if it is not featured with clipboard, will be tested against the existing tests that have been used prior to 7.4.598. Of course, with my patches, vim with clipboard will be fully tested as intended with Patch 7.4.598. Another tiny patch, ui.c.patch, suppresses the warnings about unused variables: ui.c:76:12: warning: unused variable 'clipboard_needs_update' [-Wunused-variable] static int clipboard_needs_update; /* clipboard needs to be updated */ ^ ui.c:77:12: warning: unused variable 'global_change_count' [-Wunused-variable] static int global_change_count = 0; /* if set, inside a start_global_changes */ As I wrote previously, I’m not an expert of vim test system. So, I’m quite open to revising my patches. Even more, I utterly welcome someone writes better ones :-) Regards, Kazunobu Kuriyama -- 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. |
testdir.patch
Description: Binary data
-- 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. |
ui.c.patch
Description: Binary data
-- 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. |
