Loading ...
Sorry, an error occurred while loading the content.
 

Re: Vim 6.4 tests on Win32

Expand Messages
  • Bram Moolenaar
    ... I still have no clue why it works fine for me and not for you. I use this Makefile with several versions of make/nmake/gmake. Can t $COMSPEC be set to a
    Message 1 of 13 , Nov 23, 2005
      Ilya Bobir wrote:

      > >>It appeared that the problem is not in test52 itself, but in
      > >>Make_dos.mak. There is command rename test.out $*.out there. And this
      > >>command does not work for me. It just doesn't rename files as expected,
      > >>so some other tests also fail. I made it working with this patch:
      > >>
      > >>--- testdir\Make_dos.mak.orig Sat Oct 22 23:22:44 2005
      > >>+++ testdir\Make_dos.mak Sat Oct 22 23:22:52 2005
      > >>@@ -59,7 +59,7 @@
      > >> $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in
      > >> diff test.out $*.ok
      > >> -del $*.out
      > >>- rename test.out $*.out
      > >>+ cmd /c rename test.out $*.out
      > >> -del X*
      > >> -del test.ok
      > >> -del viminfo
      > >>
      > >>
      > >
      > >Hmm, no "rename" command? On other systems "cmd" may be missing, thus
      > >this isn't a real solution.
      > >
      > >I rather call this a problem in your setup than a problem in Vim...
      > >
      > >
      > I have default setup of Windows XP. I think there is no rename command
      > on other Windows systems.
      > COMSPEC environment variable should specify command interpreter, so
      > calling dedicated rename is, probably, only just faster than calling shell.
      > Also the patch is like this:
      >
      > --- Make_dos.mak.orig 2005-10-23 03:30:08.507667200 +0300
      > +++ Make_dos.mak 2005-10-23 03:30:14.926897600 +0300
      > @@ -59,7 +65,7 @@
      > $(VIMPROG) -u dos.vim -U NONE --noplugin -s dotest.in $*.in
      > diff test.out $*.ok
      > -del $*.out
      > - rename test.out $*.out
      > + $(COMSPEC) /C rename test.out $*.out
      > -del X*
      > -del test.ok
      > -del viminfo

      I still have no clue why it works fine for me and not for you. I use
      this Makefile with several versions of make/nmake/gmake.

      Can't $COMSPEC be set to a Unix-like shell? Then "rename" would not
      work. Perhaps a Unix-like shell is being used already. Do you have
      $SHELL set in the environment?

      --
      hundred-and-one symptoms of being an internet addict:
      154. You fondle your mouse.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://www.ICCF.nl ///
    Your message has been successfully submitted and would be delivered to recipients shortly.