Hi Bram and List,

2015-12-29(Tue) 8:24:18 UTC+9 h_east:
> Hi Bram,
> 
> 2015-12-28(Mon) 22:05:54 UTC+9 Bram Moolenaar:
> > Patch 7.4.980
> > Problem:    Tests for :cdo, :ldo, etc. are outdated.
> > Solution:   Add new style tests for these commands. (Yegappan Lakshmanan)
> > Files:      src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
> >             src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
> >             src/testdir/Make_vms.mms, src/testdir/Makefile,
> >             src/testdir/test_cdo.in, src/testdir/test_cdo.ok,
> >             src/testdir/test_cdo.vim
> > 
> 
> snip...
> 
> > *** ../vim-7.4.979/src/testdir/Makefile     2015-12-05 20:56:52.805365468 
> > +0100
> > --- src/testdir/Makefile    2015-12-28 14:03:09.501457529 +0100
> > ***************
> > *** 173,176 ****
> >   newtests: $(NEW_TESTS)
> >   
> >   .vim.res:
> > !   $(RUN_VIMTEST) -u runtest.vim $*.vim
> > --- 173,176 ----
> >   newtests: $(NEW_TESTS)
> >   
> >   .vim.res:
> > !   $(RUN_VIMTEST) -S runtest.vim $*.vim
> 
> snip...
> 
> Individual test results are unnoticed from this changes.
> 
> How to reproduce:
> $ cd vim/src
> $ make test_alot

I attached a patch.

Contents of patch:
- I reported the above issue.  (-S --> -u)
- src/Makefile issuees
  - New style test test_cdo of corresponding leakage.
  - test_sort and test_undolevels goes in test_alot of corresponding leakage.
- Proposal to src/Makefile
  I think better to useful to remove the test.log before every run individual 
test.

Please confirm this.
--
Best regards,
Hirohito Higashi (a.k.a h_east)

-- 
-- 
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.
diff --git a/src/Makefile b/src/Makefile
index 4b8e2fb..dd219b9 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1905,7 +1905,6 @@ test1 \
 	test_autocmd_option \
 	test_autoformat_join \
 	test_breakindent \
-	test_cdo \
 	test_changelist \
 	test_charsearch \
 	test_close_count \
@@ -1944,16 +1943,15 @@ test1 \
 	test80 test81 test82 test83 test84 test85 test86 test87 test88 test89 \
 	test90 test91 test92 test93 test94 test95 test96 test97 test98 test99 \
 	test100 test101 test102 test103 test104 test105 test106 test107:
-	cd testdir; rm -f [email protected]; $(MAKE) -f Makefile [email protected] VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
+	cd testdir; rm -f [email protected] test.log; $(MAKE) -f Makefile [email protected] VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
 
 test_assert \
-	test_sort \
-	test_undolevels \
+	test_cdo \
 	test_alot:
-	cd testdir; rm -f [email protected]; $(MAKE) -f Makefile [email protected] VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
+	cd testdir; rm -f [email protected] test.log; $(MAKE) -f Makefile [email protected] VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
 
 newtests:
-	cd testdir; rm -f [email protected]; $(MAKE) -f Makefile newtests VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
+	cd testdir; rm -f [email protected] test.log; $(MAKE) -f Makefile newtests VIMPROG=../$(VIMTARGET) $(GUI_TESTARG) SCRIPTSOURCE=../$(SCRIPTSOURCE)
 
 testclean:
 	cd testdir; $(MAKE) -f Makefile clean
diff --git a/src/testdir/Makefile b/src/testdir/Makefile
index b587f32..53dbe13 100644
--- a/src/testdir/Makefile
+++ b/src/testdir/Makefile
@@ -123,4 +123,4 @@ RUN_VIMTEST = VIMRUNTIME=$(SCRIPTSOURCE); export VIMRUNTIME; $(VALGRIND) $(VIMPR
 newtests: $(NEW_TESTS)
 
 .vim.res:
-	$(RUN_VIMTEST) -S runtest.vim $*.vim
+	$(RUN_VIMTEST) -u runtest.vim $*.vim

Raspunde prin e-mail lui