> I like the sound of this idea a lot actually since it would remove the > chance of the output just completely being thrown away. In my own test > suite I managed to dance around this by strategically placing my > testpmd commands, but this could save people some headache in the > future. I feel like this wouldn't be something overly complicated to > implement either, all we would have to do is extend the send_command > method in the TestpmdShell class and check a boolean for if verbose is > on, extract this output. If/how to clear this list would be something > to think about, but I would say that, in general, the idea of making > sure we don't lose information is something that I'm all for.
That's a good point that you could just modify the send_command method. In my head I was thinking that we'd have to modify each individual method! Totally forget that all those testpmd methods I was thinking about stem from send_command().