On 29 May 2015 at 10:21, Bernhard Reutner-Fischer <rep.dot....@gmail.com> wrote: > On 31 January 2015 at 22:10, Bernhard Reutner-Fischer > <rep.dot....@gmail.com> wrote: >> On January 31, 2015 9:17:57 PM GMT+01:00, Mike Stump <mikest...@comcast.net> >> wrote:
>>>If you want to wait until stage 1, that’s fine too. >> >> I'd only want that to go in in stage 1. > > I have applied this now as r223858. > Please CC me on fallout. To recap: The idea is to automatically delete dump-files in the testsuite instead of annotating alot of testcases in their dg-final. To quote sourcebuild.texi, "Clean up generated test files": --- 8< --- Usually the test-framework removes files that were generated during testing. If a testcase, for example, uses any dumping mechanism to inspect a passes dump file, the testsuite recognized the dumping option passed to the tool and schedules a final cleanup to remove these files. --- 8< --- The following TCL procs were deleted from the test framework and CANNOT be used anymore in dg-final: - cleanup-ipa-dump - cleanup-rtl-dump - cleanup-tree-dump - cleanup-saved-temps These dump-files are now automatically deleted in the testsuite, via a schedule-cleanups in some basic .exp helpers. Just delete any // dg-final { cleanup-see-above-list } from your new testcases. The .plan is to gradually do the same for the remaining dumps like stack etc. See remaining parts in sourcebuild.texi and this comment in schedule-cleanups: + # TODO + # -fprofile-generate -> cleanup-coverage-files() + # -fstack-usage -> cleanup-stack-usage() Mike, just so i do not forget: I have retained the cleanup-saved-temps proc for now since it's used in lto.exp. I want to rename it later on to prevent people from using it in their dg-final since this is now done automatically. cheers,