As discussed in the PR, gfortran.dg/execute_command_line_2.f90 execution
FAILs on Solaris 10 due to a bug in /bin/sh's exit code handling.  Since
the fix is involved and the issue a corner case, we decided to XFAIL
execution instead (at least until an eventual fix is forthcoming).

Tested with the appropriate runtest invocations on i386-pc-solaris2.10
and i386-pc-solaris2.12, installed on mainline as pre-approved in the PR.

        Rainer


2015-09-01  Rainer Orth  <r...@cebitec.uni-bielefeld.de>

        PR libfortran/67412
        * gfortran.dg/execute_command_line_2.f90: XFAIL execution on
        *-*-solaris2.10.

# HG changeset patch
# Parent  c91089a9a064d057d89d1b997b04e5cbac524137
XFAIL gfortran.dg/execute_command_line_2.f90 (PR libfortran/67412)

diff --git a/gcc/testsuite/gfortran.dg/execute_command_line_2.f90 b/gcc/testsuite/gfortran.dg/execute_command_line_2.f90
--- a/gcc/testsuite/gfortran.dg/execute_command_line_2.f90
+++ b/gcc/testsuite/gfortran.dg/execute_command_line_2.f90
@@ -1,4 +1,5 @@
 ! { dg-do run }
+! { dg-xfail-run-if "PR libfortran/67412" { *-*-solaris2.10 } }
 !
 ! Check that EXECUTE_COMMAND_LINE handles invalid command lines appropriately
 !
-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to