On Mon, 18 Nov 2024 at 12:10, Thomas Huth <[email protected]> wrote:
>
> On 18/11/2024 11.57, Peter Maydell wrote:
> > I just ran out of disk space on my dev machine, because:
> >
> > $ du -h build/clang/tests/functional/
> > [...]
> > 11G     build/clang/tests/functional/
>
> That's indeed a lot. I only got 6.9G in my build tree for all targets ... I
> guess there are some stale files lying around, so as a temporary mitigation,
> just try to delete that folder (it should get recreated the next time you
> run the tests).
>
> > The new functional tests seem to be eating disk space.
> >
> > Even the build tree I have that's just arm targets is 7.1GB.
> >
> > Could you have a look at what's happening here?
>
> I am aware of the problem and got it on my TODO list already... I think we
> best should set the "workdir" to a temporary folder that we can remove once
> the test has finished, that will automatically delete all binary assets that
> the test created during its runtime.

Can we provide some kind of option for "keep the temporary
data" too? That's sometimes handy when you want to manually
run the QEMU command the test used as part of debugging
a failing test.

thanks
-- PMM

Reply via email to