[cowdancer] 02/03: test_qemuarch.c: Support x32
James Clarke
jrtc27-guest at moszumanska.debian.org
Tue Apr 5 13:36:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
jrtc27-guest pushed a commit to branch master
in repository cowdancer.
commit 4c2db4d01594d9b27c3945a8b6d376ca906d9fce
Author: James Clarke <jrtc27 at jrtc27.com>
Date: Tue Apr 5 14:22:30 2016 +0100
test_qemuarch.c: Support x32
---
test_qemuarch.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/test_qemuarch.c b/test_qemuarch.c
index 3ed2c5d..e4deaba 100755
--- a/test_qemuarch.c
+++ b/test_qemuarch.c
@@ -17,7 +17,11 @@ int test_get_host_dpkg_arch()
{
/* just try to test x86_64 case */
#if defined(__x86_64__)
+# if defined(__ILP32__)
+ assert (!strcmp(get_host_dpkg_arch(), "x32"));
+# else
assert (!strcmp(get_host_dpkg_arch(), "amd64"));
+# endif
#elif defined(__i386__)
assert ((!strcmp(get_host_dpkg_arch(), "i386")) || (!strcmp(get_host_dpkg_arch(), "lpia")));
#else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pbuilder/cowdancer.git
More information about the Pbuilder-maint
mailing list