From: Guido Günther Date: Sun, 12 Jun 2011 19:57:01 +0000 (+0200) Subject: Skip nodeinfo test on non intel architectures X-Git-Tag: v0.9.3-rc1~160 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=acc7080a1dff2d3428d45031a39cab8d861b1f6d;p=thirdparty%2Flibvirt.git Skip nodeinfo test on non intel architectures since the testfiles assume a /proc/cpuinfo specific to this architecture. We e.g. can't parse the number of cores on other architectures. --- diff --git a/tests/nodeinfotest.c b/tests/nodeinfotest.c index b4e81b384b..71e2926df8 100644 --- a/tests/nodeinfotest.c +++ b/tests/nodeinfotest.c @@ -11,7 +11,9 @@ #include "util.h" #include "files.h" -#ifndef __linux__ +#if ! (defined __linux__ && (defined(__x86_64__) || \ + defined(__amd64__) || \ + defined(__i386__))) static int mymain(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)