[petsc-dev] remove temporary output with new test-harness
Matthew Knepley
knepley at gmail.com
Wed Nov 29 10:43:15 CST 2017
On Wed, Nov 29, 2017 at 10:38 AM, Scott Kruger <kruger at txcorp.com> wrote:
> rm $PETSC_ARCH/tests/<path_to_file>/<file>
>
>
> I assume you really mean something else, specifically related to the
> generated test script, but there isn't enough information to answer that.
>
> Or more specifically, the test language was not written to generate
> scripts that have an `rm` command in them, so perhaps explaining why an
> extension would be a good idea.]
>
I think what Stefano means is the following;
I write a test for the HDF5 Viewer. It creates a file called
"vector.dat". I want it removed at the end of the test.
I think the answer is, the test directory is blown away, so as long as the
file is in that temp dir, you are fine.
Thanks,
Matt
> Scott
>
>
> On 11/29/17 6:02 AM, Stefano Zampini wrote:
>
>> How can I remove a file created by the executable I'm testing with the
>> new test harness?
>>
>> --
>> Stefano
>>
>
> --
> Tech-X Corporation kruger at txcorp.com
> 5621 Arapahoe Ave, Suite A Phone: (720) 974-1841
> Boulder, CO 80303 Fax: (303) 448-7756
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
https://www.cse.buffalo.edu/~knepley/ <http://www.caam.rice.edu/~mk51/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20171129/73f07f6a/attachment.html>
More information about the petsc-dev
mailing list