From patchwork Fri Mar 8 12:21:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 226101 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C494B2C0340 for ; Fri, 8 Mar 2013 23:22:20 +1100 (EST) Received: from localhost ([::1]:33543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDwJW-0005ce-Ug for incoming@patchwork.ozlabs.org; Fri, 08 Mar 2013 07:22:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDwJ4-0005UW-9t for qemu-devel@nongnu.org; Fri, 08 Mar 2013 07:21:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDwIz-00047X-Qj for qemu-devel@nongnu.org; Fri, 08 Mar 2013 07:21:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49136) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDwIz-00047S-Id; Fri, 08 Mar 2013 07:21:45 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r28CLiQt001321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 8 Mar 2013 07:21:44 -0500 Received: from localhost (ovpn-112-36.ams2.redhat.com [10.36.112.36]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r28CLhGS009915; Fri, 8 Mar 2013 07:21:44 -0500 From: Stefan Hajnoczi To: Date: Fri, 8 Mar 2013 13:21:29 +0100 Message-Id: <1362745295-16398-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1362745295-16398-1-git-send-email-stefanha@redhat.com> References: <1362745295-16398-1-git-send-email-stefanha@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Anthony Liguori , qemu-stable@nongnu.org, Stefan Hajnoczi , Cole Robinson Subject: [Qemu-devel] [PATCH 2/8] rtc-test: Fix test failures with recent glib X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Cole Robinson As of glib 2.35.4, glib changed its logic for ordering test cases: https://bugzilla.gnome.org/show_bug.cgi?id=694487 This was causing failures in rtc-test. Group the reordered test cases into their own suite, which maintains the original ordering. CC: qemu-stable@nongnu.org Signed-off-by: Cole Robinson Signed-off-by: Stefan Hajnoczi --- tests/rtc-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rtc-test.c b/tests/rtc-test.c index c5fd042..9ab583b 100644 --- a/tests/rtc-test.c +++ b/tests/rtc-test.c @@ -565,8 +565,8 @@ int main(int argc, char **argv) qtest_add_func("/rtc/basic/bcd-12h", basic_12h_bcd); qtest_add_func("/rtc/set-year/20xx", set_year_20xx); qtest_add_func("/rtc/set-year/1980", set_year_1980); - qtest_add_func("/rtc/register_b_set_flag", register_b_set_flag); - qtest_add_func("/rtc/fuzz-registers", fuzz_registers); + qtest_add_func("/rtc/misc/register_b_set_flag", register_b_set_flag); + qtest_add_func("/rtc/misc/fuzz-registers", fuzz_registers); ret = g_test_run(); if (s) {