aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Coudert <coudert@clipper.ens.fr>2005-06-28 14:51:09 +0200
committerFrançois-Xavier Coudert <fxcoudert@gcc.gnu.org>2005-06-28 12:51:09 +0000
commit8234b3bdf8257852544dcc24812532d2ebf00df5 (patch)
treeda1c45422495054a06acfc586247c75c3f976836
parent0a0a8cf7f51c449c94a0ab9b38c3adb8bef34d45 (diff)
downloadgcc-8234b3bdf8257852544dcc24812532d2ebf00df5.zip
gcc-8234b3bdf8257852544dcc24812532d2ebf00df5.tar.gz
gcc-8234b3bdf8257852544dcc24812532d2ebf00df5.tar.bz2
* gfortran.dg/dev_null.f90: Run test only on linux and solaris.
From-SVN: r101379
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gfortran.dg/dev_null.f905
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f100e45..39a5c27 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2005-06-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+ * gfortran.dg/dev_null.f90: Run test only on linux and solaris.
+
+2005-06-28 Francois-Xavier Coudert <coudert@clipper.ens.fr>
+
PR libfortran/22170
* gfortran.dg/slash_1.f90: New test.
diff --git a/gcc/testsuite/gfortran.dg/dev_null.f90 b/gcc/testsuite/gfortran.dg/dev_null.f90
index edf93db..f9703bc 100644
--- a/gcc/testsuite/gfortran.dg/dev_null.f90
+++ b/gcc/testsuite/gfortran.dg/dev_null.f90
@@ -1,4 +1,7 @@
-! { dg-do run }
+! { dg-do run { target *-*-linux* *-*-solaris* } }
+! This test currently only runs on systems where using ftruncate on
+! /dev/null fails (errno set to EINVAL). See PR 21593 for details.
+!
! pr19478 read from /dev/null
! Thomas.Koenig@online.de
character*20 foo