Re: [Qemu-devel] [PATCH] tests: report errors when iasl exits with non-zero status

2017-11-16 Thread Michael S. Tsirkin
On Wed, Oct 18, 2017 at 02:15:28PM +0100, Daniel P. Berrange wrote: > If iasl exits with non-zero status, the test unhelpfully just reports > that the AML did not match, because the data files it thought iasl > generated do not exist. This adds an explicit check for the exit status > of iasl and pr

Re: [Qemu-devel] [PATCH] tests: report errors when iasl exits with non-zero status

2017-10-18 Thread Philippe Mathieu-Daudé
On 10/18/2017 10:15 AM, Daniel P. Berrange wrote: > If iasl exits with non-zero status, the test unhelpfully just reports > that the AML did not match, because the data files it thought iasl > generated do not exist. This adds an explicit check for the exit status > of iasl and prints stderr if it

[Qemu-devel] [PATCH] tests: report errors when iasl exits with non-zero status

2017-10-18 Thread Daniel P. Berrange
If iasl exits with non-zero status, the test unhelpfully just reports that the AML did not match, because the data files it thought iasl generated do not exist. This adds an explicit check for the exit status of iasl and prints stderr if it was non-zero. Thus gives us a fighting chance of diagnosin