|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH] qtest: Add assertion that required environment variable is set |
Date: | Wed, 01 Apr 2015 23:14:23 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 01/04/2015 23:06, John Snow wrote: > > if (qemu == NULL) { > fprintf(stderr, "..."); > g_assert_not_reached(); > } > > Though that does read a little strangely. ("Here's a nice error message > for something we are asserting will never happen.") Just "exit(1);" then. :) Good idea, this is annoying. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |