This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Testsuite log file change
- From: FX <fxcoudert at gmail dot com>
- To: NightStrike <nightstrike at gmail dot com>
- Cc: Jerry DeLisle <jvdelisle at verizon dot net>, Kai Tietz <ktietz70 at googlemail dot com>, Fortran List <fortran at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 10 May 2008 21:32:22 +0100
- Subject: Re: Testsuite log file change
- References: <b609cb3b0805092349i6d4faccdp4d04dc3f4bc018a8@mail.gmail.com> <8D7A93FF-6BD7-48A0-8553-D203A98CA5FE@gmail.com> <7DB609DF-E856-48FF-B8AD-B64C41A074F8@gmail.com> <b609cb3b0805101233t620f8034g4f5a1ac3b1a77652@mail.gmail.com>
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/