[U-Boot] buildman tests and --output directory

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!

Hi Tom,
On Sun, 29 Sep 2019 at 18:32, Tom Rini trini@konsulko.com wrote:
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
participants (2)
-
Simon Glass
-
Tom Rini