
Hi Bin,
On Mon, 25 Nov 2019 at 23:13, Bin Meng bmeng.cn@gmail.com wrote:
Hi Simon, Joe,
On Mon, Nov 25, 2019 at 12:11 PM Simon Glass sjg@chromium.org wrote:
These warnings appear every thing sandbox is run (see below) and dwarf the actual useful output. Suppress them in two ways:
- For the mismatch warnings, only set the eth<x>addr environment
variables when running tests.
- For the 'MAC address from ROM' warning, never print this on sandbox.
Signed-off-by: Simon Glass sjg@chromium.org
Unfortunately this breaks the tests so is not applicable as is:
$ /tmp/b/sandbox/u-boot -T -c "ut dm eth_prime"
What's our solution to the problem described here? As this commit will be reverted by the next patch in this series ...
Joe suggested making the warnings sandbox-specific I think. I found that my commit stopped env setting from working anyway.
I think we should do something here, but I haven't put enough time into it to really understand what is going on.
Regards, Simon