Hi Nazri


On 2015-07-05 Sunday at 09:39 +0800 Nazri Ramliy wrote:
> On Sat, Jul 4, 2015 at 9:23 PM, Bram Moolenaar <[email protected]> wrote:
> > When running the tests the terminal produces beeps.
> > Usually this is caused by the test script having a line break,
> > which is the command to move to the next line.
> > If there is no next line Vim beeps.
> >
> > It would be nice if someone can spend time on locating the places
> > where beeps are produced and fix them.  Usually inserting an Ex
> > command helps:  :"
> 
> I've done the easy part - locating which *.in files those beeps are coming
> from. I made vim print to stderr the string "BELL" whenever it does an
> out_char(BELL), and I modified testdir/Makefile to log the name of the test
> script that it currently runs (patch at end of this mail). I then post-process
> those two output.  Here are the results.  The number on the left is the count
> of BELL character sent out when running the test on the right:
> 
> 13      test17.in
> 10      test95.in
> 10      test94.in
> 7       test_erasebackword.in
> 6       test83.in
> 5       test_mapping.in
> 5       test_close_count.in
> 4       test61.in
> 4       test29.in
> 3       test_increment.in
> 2       test_listlbr_utf8.in
> 2       test_listlbr.in
> 2       test47.in
> 1       test_textobjects.in
> 1       test_autoformat_join.in
> 1       test90.in
> 1       test82.in
> 1       test78.in
> 1       test77.in
> 1       test62.in
> 1       test4.in
> 1       test45.in
> 1       test32.in
> 1       test30.in
> 1       test103.in
> 
> I ran the test on Ubuntu 14.04, with vim changeset 6900:bfc3682510d6.
> 
> I'll leave the fixing part to someone else :)

Thank you for the analysis.

41/85 beeps fixed.  No more spare time today.

Remaining:
10  test94.in
 7  test_erasebackword.in
 5  test_mapping.in
 5  test_close_count.in
 3  test_increment.in
 2  test_listlbr_utf8.in
 2  test_listlbr.in
 2  test47.in
 1  test_textobjects.in
 1  test78.in
 1  test77.in
 1  test62.in
 1  test45.in
 1  test32.in
 1  test30.in
 1  test103.in



-- 
Best regards,
Roland Eggner

-- 
-- 
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.

Attachment: 15 src testdir test*.in avoid beeps.patch
Description: src testdir test{4,17,29,61,82,83,90,95,_autoformat_join}.in avoid beeps.patch

Attachment: pgpexWp9UHkVh.pgp
Description: PGP signature

Raspunde prin e-mail lui