tests for python failed on WIndows

53 views
Skip to first unread message

Taro MURAOKA

unread,
Jun 23, 2013, 7:50:07 PM6/23/13
to vim...@googlegroups.com
with 7.3.1237

test86 and test87 are failed.
It seems Windows issues: directory separator or so.


Please check attached test results.

test86.failed.txt
test87.failed.txt

Bram Moolenaar

unread,
Jun 24, 2013, 6:05:42 AM6/24/13
to Taro MURAOKA, vim...@googlegroups.com
E.g.:

['\\testdir']
'\\testdir'

vs:

['/testdir']
'/testdir'

We could fix this in the test, but I would very much like to use a
forward slash whenever possible. So long as you don't use them in the
command line, forward slashes should work fine nearly everywhere.

I hope this does not cause problems with backwards compatibility.

--
FIRST HEAD: Oh! quick! get the sword out I want to cut his head off.
THIRD HEAD: Oh, cut your own head off.
SECOND HEAD: Yes - do us all a favour.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

MURAOKA Taro

unread,
Jun 24, 2013, 7:17:29 AM6/24/13
to Bram Moolenaar, vim_dev
I have wrote two patches to fix it.
Please check attached:

* fix-test86_for_windows.diff
* fix-test87_for_windows.diff

After applied these patches, I found there are some failures of test87 remained.
(please see attached test87.diff for details)
It seems caused by differences of Python3 version.
I use 3.3.2 as Python3.


Best

2013/6/24 Bram Moolenaar <Br...@moolenaar.net>:
--
MURAOKA Taro <koron....@gmail.com>
fix-test86_for_windows.diff
fix-test87_for_windows.diff
test87.diff
Reply all
Reply to author
Forward
0 new messages