summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-10-21 10:18:37 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-23 14:46:58 +0000
commitf34f1fed71a6b63a243962b473a3b69358a07fa0 (patch)
tree77b9787ee784bc6a4a798e4ae7ba82bb1543cf6a
parent9517a9e6a550a141f6e60550e1cec65005273170 (diff)
downloadfocaccia-qemu-f34f1fed71a6b63a243962b473a3b69358a07fa0.tar.gz
focaccia-qemu-f34f1fed71a6b63a243962b473a3b69358a07fa0.zip
disable test_enter on i386, it is broken
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>
-rw-r--r--tests/test-i386.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-i386.c b/tests/test-i386.c
index b28b257f81..8f481c7f7a 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)
 {