[PATCH 4/6] dts: add artifact module
Luca Vizzarro
Luca.Vizzarro at arm.com
Tue Aug 12 10:21:05 CEST 2025
On 12/08/2025 04:26, Patrick Robb wrote:
> Oh yeah - is there a reason why we don't call touch in the init
> function? running touch should be idempotent so we aren't worried about
> it being called too many times. I was reminded when I saw in the softnic
> testsuite that it is being called in the testsuite setup. Maybe this is
> extra work on the testsuite side for no reason.
The idea is that an artifact is just a definition of a file. We use the
constructor to define one, and we use the methods to actually operatore
on it. I originally implemented this behaviour, but there was a case –
which I can't remember right now – where this wasn't wanted. Overall, it
should be clearer to the test writer to calls operational methods
explicitly.
More information about the dev
mailing list