This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Testsuite log file change


Also committed after checking that it didn't break x86_64-linux and that it did fix i686-pc-mingw32:

2008-05-10 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>

        * gfortran.dg/fmt_t_5.f90: Take care of Windows CRLF line
        terminator.


fxcoudert@gcc11:~/devel/trunk2/gcc/testsuite$ svn diff gfortran.dg/ Index: gfortran.dg/fmt_t_5.f90 =================================================================== --- gfortran.dg/fmt_t_5.f90 (revision 135088) +++ gfortran.dg/fmt_t_5.f90 (working copy) @@ -12,7 +12,7 @@ read(10, pos=1) output(1:21) if (output(1:21).ne."ab x") call abort read(10) c - if (c.ne.achar(10)) call abort + if ((c.ne.achar(10)) .and. (c.ne.achar(13))) call abort close (10, status="delete") 10 format (a2,t1,a1,t2,a1,t20,' x') end




-- François-Xavier Coudert http://www.homepages.ucl.ac.uk/~uccafco/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]