]> git.proxmox.com Git - qemu.git/commitdiff
disable test_enter on i386, it is broken
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 21 Oct 2010 08:18:37 +0000 (10:18 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 23 Oct 2010 14:46:58 +0000 (14:46 +0000)
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 <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tests/test-i386.c

index b28b257f8157eaa49e80608eb5fa7274146ace3c..8f481c7f7ad01c10ae5bbc8e8d9b7f0fdde2ad2a 100644 (file)
@@ -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)
 {