Add additional_sources_used
authorTom de Vries <tom@codesourcery.com>
Tue, 24 Feb 2015 06:55:51 +0000 (06:55 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Tue, 24 Feb 2015 06:55:51 +0000 (06:55 +0000)
commit891201a1c3a3f36154e8f25872282751860310fa
treedbd98ce98afd136216b32912d5f096fff9b87b18
parent781048da15875abd281cd35d2b0edcefed703bbb
Add additional_sources_used

2015-02-24  Tom de Vries  <tom@codesourcery.com>

PR testsuite/65126
* lib/gcc-defs.exp (additional_sources_used): Add new var.
(dg-additional-files-options): Copy additional_sources to
additional_sources_used before emptying additional_sources.
* lib/gcc-dg.exp (cleanup-coverage-files, cleanup-repo-files)
(cleanup-stack-usage, cleanup-ada-spec, cleanup-dump)
(cleanup-saved-temps): Use additional_sources_used instead of
additional_sources.
(dg-test): Reset additional_sources_used.

From-SVN: r220929
gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcc-defs.exp
gcc/testsuite/lib/gcc-dg.exp