From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17374 invoked by alias); 20 Feb 2013 14:51:13 -0000 Received: (qmail 16067 invoked by uid 48); 20 Feb 2013 14:50:10 -0000 From: "burnus at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/56408] Fix dependency handling of testsuite/gfortran.dg Date: Wed, 20 Feb 2013 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: burnus at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-02/txt/msg02073.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56408 --- Comment #3 from Tobias Burnus 2013-02-20 14:50:04 UTC --- Created attachment 29510 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29510 Draft patch (fails due to issues mentioned in comment 3) (In reply to comment #2) > (In reply to comment #1) > > Given that you can use dg.exp=nameoftest.f90 and run only that single test, > > I think dg-additional-sources should be the way to go in those cases. Actually, it currently doesn't work: One cannot combine "! { do-do compile }" with dg-additional-sources. "dg-do compile" uses "-S" with the "-o" option, but that does not support multiple files. And using, e.g., "dg-do link" is not possible if one of the files has a "dg-error". Hence, the following test cases cannot be converted (they use "dg-error"): - gfortran.dg/binding_label_tests_10.f03 - gfortran.dg/binding_label_tests_11.f03 - gfortran.dg/binding_label_tests_13.f03 - gfortran.dg/test_common_binding_labels_2.f03 - gfortran.dg/test_common_binding_labels_3.f03 The following could use "dg-do link" (they currently all uses "dg-do compile"): - gfortran.dg/coarray_29_1.f90 - gfortran.dg/whole_file_28.f90 - gfortran.dg/whole_file_30.f90