re PR fortran/56408 (Fix dependency handling of testsuite/gfortran.dg)

PR fortran/56408
	* gfortran.dg/dg.exp (dg-compile-aux-modules): Workaround
	missing nexted dg-test call support in dejaGNU 1.4.4.

From-SVN: r215293
This commit is contained in:
Jakub Jelinek 2014-09-16 11:35:00 +02:00 committed by Jakub Jelinek
parent 9994ad20a1
commit 7c943bd87c
2 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2014-09-16 Jakub Jelinek <jakub@redhat.com>
PR fortran/56408
* gfortran.dg/dg.exp (dg-compile-aux-modules): Workaround
missing nexted dg-test call support in dejaGNU 1.4.4.
2014-09-15 Andi Kleen <ak@linux.intel.com>
* gcc.dg/pg-override.c: New test.

View File

@ -39,8 +39,18 @@ proc dg-compile-aux-modules { args } {
error "dg-set-target-env-var: needs one argument"
return
}
set level [info level]
if { [info procs dg-save-unknown] != [list] } {
rename dg-save-unknown dg-save-unknown-level-$level
}
dg-test $gfortran_test_path/[lindex $args 1] "" $gfortran_aux_module_flags
# cleanup-modules isn't intentionally invoked here.
# cleanup-modules is intentionally not invoked here.
if { [info procs dg-save-unknown-level-$level] != [list] } {
rename dg-save-unknown-level-$level dg-save-unknown
}
}
# Main loop.