From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:50654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkHaY-0003Kw-VM for qemu-devel@nongnu.org; Mon, 09 Jan 2012 10:56:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkHaS-00011e-CJ for qemu-devel@nongnu.org; Mon, 09 Jan 2012 10:56:46 -0500 Received: from e8.ny.us.ibm.com ([32.97.182.138]:41742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkHaS-00011Z-8X for qemu-devel@nongnu.org; Mon, 09 Jan 2012 10:56:40 -0500 Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Jan 2012 10:56:38 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q09FuZ4w241544 for ; Mon, 9 Jan 2012 10:56:36 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q09FuZmJ009389 for ; Mon, 9 Jan 2012 13:56:35 -0200 From: Anthony Liguori Date: Mon, 9 Jan 2012 09:56:10 -0600 Message-Id: <1326124572-8312-9-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1326124572-8312-1-git-send-email-aliguori@us.ibm.com> References: <1326124572-8312-1-git-send-email-aliguori@us.ibm.com> Subject: [Qemu-devel] [PATCH 09/11] check-qjson: enable disabled tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , Luiz Capitulino gtest does the right thing here so there's no need to comment these tests out. Signed-off-by: Anthony Liguori --- check-qjson.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/check-qjson.c b/check-qjson.c index 430f53b..526e25e 100644 --- a/check-qjson.c +++ b/check-qjson.c @@ -678,7 +678,6 @@ static void unterminated_dict_comma(void) g_assert(obj == NULL); } -#if 0 static void invalid_dict_comma(void) { QObject *obj = qobject_from_json("{'abc':32,}"); @@ -690,7 +689,6 @@ static void unterminated_literal(void) QObject *obj = qobject_from_json("nul"); g_assert(obj == NULL); } -#endif int main(int argc, char **argv) { @@ -723,11 +721,8 @@ int main(int argc, char **argv) g_test_add_func("/errors/unterminated/dict", unterminated_dict); g_test_add_func("/errors/unterminated/dict_comma", unterminated_dict_comma); g_test_add_func("/errors/invalid_array_comma", invalid_array_comma); -#if 0 - /* FIXME: this print parse error messages on stderr. */ g_test_add_func("/errors/invalid_dict_comma", invalid_dict_comma); g_test_add_func("/errors/unterminated/literal", unterminated_literal); -#endif return g_test_run(); } -- 1.7.4.1