Testsuite log file change

FX fxcoudert@gmail.com
Sat May 10 19:41:00 GMT 2008


Committed after testing on x86_64-linux, following Danny's patch for  
gfortran.dg/dev_null.f90.


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

         * write_to_null.f90: Rename to write_to_null.F90.
         * write_to_null.F90: On Windows, "nul" is the equivalent of the
         Unix /dev/null.


Index: testsuite/gfortran.dg/write_to_null.F90
===================================================================
--- testsuite/gfortran.dg/write_to_null.F90     (revision 135088)
+++ testsuite/gfortran.dg/write_to_null.F90     (working copy)
@@ -1,8 +1,15 @@
  ! { dg-do run }
  ! pr18983
  ! could not write to /dev/null
+
+#if defined  _WIN32
+#define DEV_NULL "nul"
+#else
+#define DEV_NULL "/dev/null"
+#endif
+
         integer i
-       open(10,file="/dev/null")
+       open(10,file=DEV_NULL)
         do i = 1,100
           write(10,*) "Hello, world"
         end do



More information about the Gcc-patches mailing list