From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49798 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8qMe-0004FE-IH for qemu-devel@nongnu.org; Thu, 21 Oct 2010 04:19:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8qMd-00042r-Am for qemu-devel@nongnu.org; Thu, 21 Oct 2010 04:19:08 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:50450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8qMd-00042E-41 for qemu-devel@nongnu.org; Thu, 21 Oct 2010 04:19:07 -0400 Received: by mail-fx0-f45.google.com with SMTP id 9so3748246fxm.4 for ; Thu, 21 Oct 2010 01:19:06 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 21 Oct 2010 10:18:37 +0200 Message-Id: <1287649120-30740-4-git-send-email-pbonzini@redhat.com> In-Reply-To: <1287649120-30740-1-git-send-email-pbonzini@redhat.com> References: <1287649120-30740-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 3/6] disable test_enter on i386, it is broken List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Many other tests fail, but this has an infinite loop with both qemu-i386 and native execution (albeit on x86_64), so there is something more going on. I'm not going to debug it now, so just disable the test. Signed-off-by: Paolo Bonzini --- tests/test-i386.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/tests/test-i386.c b/tests/test-i386.c index b28b257..fea4062 100644 --- a/tests/test-i386.c +++ b/tests/test-i386.c @@ -2047,6 +2047,10 @@ long enter_stack[4096]; #define RBP "%%ebp" #endif +#if !defined(__x86_64__) +/* causes an infinite loop, disable it for now. */ +#define TEST_ENTER(size, stack_type, level) +#else #define TEST_ENTER(size, stack_type, level)\ {\ long esp_save, esp_val, ebp_val, ebp_save, i;\ @@ -2078,6 +2082,7 @@ long enter_stack[4096]; for(ptr = (stack_type *)esp_val; ptr < stack_end; ptr++)\ printf(FMTLX "\n", (long)ptr[0]);\ } +#endif static void test_enter(void) { -- 1.7.2.3