From: Colin P. A. <co...@co...> - 2007-10-20 18:46:49
|
>>>>> "Eric" == Eric Bezault <er...@go...> writes: Eric> Colin Paul Adams wrote: >>>>>>> "Colin" == Colin Paul Adams <co...@co...> >>>>>>> writes: >> >>>>>>> "Eric" == Eric Bezault <er...@go...> writes: Eric> col...@us... wrote: >> > >> gobo/trunk/test/xml/xslt/data/character_map2.out >>> >> gobo/trunk/test/xml/xslt/data/character_map4.out >> Eric> These files don't have the property svn:eol-style set. >> Colin> I don't know what to do about this. I tried making the Colin> results verbatim manifest strings. The tests then fail as Colin> the embedded CR characters (which show up as ^M in Emacs) Colin> are not being read from the verbatim string (using "{ }" Colin> delimiters) into the STRING object. (Eiffel Studio 6.0). >> >> I reverted to using the output files for comparing test >> results. I added the svn:needs-lock property to make them >> read-only (so you will not be tempted to edit them on Windows - >> these are generated output - that is I invoke gexslt on the >> test input files, and divert standard output to the file. Then >> I inspect the output to check it is correct). >> >> I then set the svn:eol-style property to LF, combined with >> reading the files as binary files, in a effort to avoid the >> different results problem. Eric> There is something I don't understand. Neither: Eric> gobo/trunk/test/xml/xslt/data/character_map2.out Eric> gobo/trunk/test/xml/xslt/data/character_map4.out Eric> have the properties svn:needs-lock and svn:eol-style LF Eric> despite what you described above, but now the file: Eric> gobo/trunk/test/xml/xslt/xm_xslt_test_character_map.e Eric> has the property svn:eol-style LF. This does not look right Eric> to me. I must have mis-typed the commands, as I now find I am not allowed to set the *.out files to have LF as the eol-style, as it is inconsistent with the data. So instead I set svn:mime-type to application/xml, so subversion treats them as binary files, which has the desired effect. Unfortunately the tests still fail under windows. I am going to have to debug this under windows sometime, to find out exactly what is happening. I don't want to have to do this on my laptop - are you intending to refresh Gobo at AXAR soon? -- Colin Adams Preston Lancashire |