summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-21 02:31:19 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-09-21 02:31:19 +0000
commit8307fb101a88df97b6d6a5e2bcab85d2fb737494 (patch)
tree54d2468ce804efff32def58ce831f333993c969c /tests
parent59fef308c3097842aa0a3721582d858d0896708e (diff)
downloadqemu-8307fb101a88df97b6d6a5e2bcab85d2fb737494.tar.gz
qemu-8307fb101a88df97b6d6a5e2bcab85d2fb737494.tar.bz2
qemu-8307fb101a88df97b6d6a5e2bcab85d2fb737494.zip
Enable same-arch consistency check on x86-64, print syscall name on error.
Also disable testing instructions unsupported by 64-bit binutils in test-i386.c git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5277 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tests')
-rw-r--r--tests/test-i386.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-i386.c b/tests/test-i386.c
index 9ebfa80cd7..43b17285f9 100644
--- a/tests/test-i386.c
+++ b/tests/test-i386.c
@@ -489,10 +489,12 @@ void test_loop(void)
};
int i, res;
+#if !defined(__x86_64__)
TEST_LOOP("jcxz");
TEST_LOOP("loopw");
TEST_LOOP("loopzw");
TEST_LOOP("loopnzw");
+#endif
TEST_LOOP("jecxz");
TEST_LOOP("loopl");