Skip to contentSkip to conversation

buildman tests and --output directory

U-Boot Tom Rini 2 participants 2 messages Sep 30, 2019

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

Hey,

I've found a problem that I can't quite seem to figure out how to fix it. When we run the buildman tests, they don't respect the --output-dir flag. This ends up being a problem in that we end up using ".." rather than /tmp and then ".." might not actually be writeable. Any ideas? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190929/5b7f22e7/attachment.sig>
#1 lore raw

Hi Tom,

Quoted 8 lines · Tom Rini

Hey,

I've found a problem that I can't quite seem to figure out how to fix it. When we run the buildman tests, they don't respect the --output-dir flag. This ends up being a problem in that we end up using ".." rather than /tmp and then ".." might not actually be writeable. Any ideas? Thanks!

Yes I think the tests ignore quite a few flags, or at least some of them do.

One option might be to add the flag to TestFunctional._RunControl(). For test.py, if it has a problem, perhaps follow what use_network does?

Regards,
Simon