Re: Removing an output file when test case has terminate

2015-03-29 Thread Jerry DeLisle
On 03/29/2015 04:50 AM, Janne Blomqvist wrote: On Sun, Mar 29, 2015 at 2:28 PM, Thomas Koenig wrote: I want to add a test case to the gfortran testsuite for PR 65563. If all goes right, running the test case will a) terminate the program with an error message (to be checked for) b) create a f

Re: Removing an output file when test case has terminate

2015-03-29 Thread Thomas Koenig
Hi Janne, > ! { dg-final { remote_file build delete "pr64770test.dat" } } did the trick. It is not mentioned in the docs, though. Thanks! Thomas

Re: Removing an output file when test case has terminate

2015-03-29 Thread Janne Blomqvist
On Sun, Mar 29, 2015 at 2:28 PM, Thomas Koenig wrote: > I want to add a test case to the gfortran testsuite for PR 65563. > If all goes right, running the test case will > > a) terminate the program with an error message (to be checked for) > > b) create a file, which needs to be cleaned up after

Removing an output file when test case has terminate

2015-03-29 Thread Thomas Koenig
I want to add a test case to the gfortran testsuite for PR 65563. If all goes right, running the test case will a) terminate the program with an error message (to be checked for) b) create a file, which needs to be cleaned up after the test case is run. a) is clear, but how do I do b)? I hav