re PR fortran/56408 (Fix dependency handling of testsuite/gfortran.dg)
authorJakub Jelinek <jakub@redhat.com>
Mon, 15 Sep 2014 19:46:12 +0000 (21:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 15 Sep 2014 19:46:12 +0000 (21:46 +0200)
commitf6815e4095ac7b14940d15df33b38154275155ec
tree84dc09e51a9208776ea467d303ac0d113f3debac
parent6a3d8ef0b86f81b7eb72a29b3d5339f5062a8453
re PR fortran/56408 (Fix dependency handling of testsuite/gfortran.dg)

PR fortran/56408
* gfortran.dg/dg.exp (gfortran_test_path, gfortran_aux_module_flags):
New global vars.
(dg-compile-aux-modules): New procedure.
* gfortran.dg/binding_label_tests_10.f03: Remove comment
and keep-modules.
* gfortran.dg/binding_label_tests_10_main.f03: Remove comment,
use dg-compile-aux-modules.
* gfortran.dg/binding_label_tests_11.f03: Remove comment
and keep-modules.
* gfortran.dg/binding_label_tests_11_main.f03: Remove comment,
use dg-compile-aux-modules.
* gfortran.dg/binding_label_tests_13.f03: Remove comment
and keep-modules.
* gfortran.dg/binding_label_tests_13_main.f03: Remove comment,
use dg-compile-aux-modules.
* gfortran.dg/binding_label_tests_26a.f90: Remove comment
and keep-modules.
* gfortran.dg/binding_label_tests_26b.f90: Remove comment,
use dg-compile-aux-modules.
* gfortran.dg/class_45a.f03: Remove keep-modules.
* gfortran.dg/class_45b.f03: Use dg-compile-aux-modules
and cleanup-modules.
* gfortran.dg/class_4a.f03: Use dg-do link, use
dg-additional-sources and cleanup-modules, remove keep-modules
and update comment.
* gfortran.dg/class_4b.f03: Don't compile anywhere, remove
keep-modules, adjust comment.
* gfortran.dg/class_4c.f03: Don't compile anywhere, remove
dg-additional-sources and cleanup-modules.
* gfortran.dg/coarray_29_1.f90: Remove keep-modules and
associated comment.
* gfortran.dg/coarray_29_2.f90: Use dg-compile-aux-modules,
remove comment.
* gfortran.dg/test_common_binding_labels_2.f03: Remove keep-modules.
* gfortran.dg/test_common_binding_labels_2_main.f03: Remove comment,
use dg-compile-aux-modules.
* gfortran.dg/test_common_binding_labels_3.f03: Remove keep-modules.
* gfortran.dg/test_common_binding_labels_3_main.f03: Remove comment,
use dg-compile-aux-modules.
* gfortran.dg/whole_file_28.f90: Remove comment and keep-modules.
* gfortran.dg/whole_file_29.f90: Remove comment, use
dg-compile-aux-modules.
* gfortran.dg/whole_file_30.f90: Remove comment and keep-modules.
* gfortran.dg/whole_file_31.f90: Remove comment, use
dg-compile-aux-modules.

From-SVN: r215275
25 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/binding_label_tests_10.f03
gcc/testsuite/gfortran.dg/binding_label_tests_10_main.f03
gcc/testsuite/gfortran.dg/binding_label_tests_11.f03
gcc/testsuite/gfortran.dg/binding_label_tests_11_main.f03
gcc/testsuite/gfortran.dg/binding_label_tests_13.f03
gcc/testsuite/gfortran.dg/binding_label_tests_13_main.f03
gcc/testsuite/gfortran.dg/binding_label_tests_26a.f90
gcc/testsuite/gfortran.dg/binding_label_tests_26b.f90
gcc/testsuite/gfortran.dg/class_45a.f03
gcc/testsuite/gfortran.dg/class_45b.f03
gcc/testsuite/gfortran.dg/class_4a.f03
gcc/testsuite/gfortran.dg/class_4b.f03
gcc/testsuite/gfortran.dg/class_4c.f03
gcc/testsuite/gfortran.dg/coarray_29_1.f90
gcc/testsuite/gfortran.dg/coarray_29_2.f90
gcc/testsuite/gfortran.dg/dg.exp
gcc/testsuite/gfortran.dg/test_common_binding_labels_2.f03
gcc/testsuite/gfortran.dg/test_common_binding_labels_2_main.f03
gcc/testsuite/gfortran.dg/test_common_binding_labels_3.f03
gcc/testsuite/gfortran.dg/test_common_binding_labels_3_main.f03
gcc/testsuite/gfortran.dg/whole_file_28.f90
gcc/testsuite/gfortran.dg/whole_file_29.f90
gcc/testsuite/gfortran.dg/whole_file_30.f90
gcc/testsuite/gfortran.dg/whole_file_31.f90