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.
This commit is contained in:
Guido Günther 2011-06-12 21:57:01 +02:00
parent 30697181dc
commit acc7080a1d
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@
#include "util.h" #include "util.h"
#include "files.h" #include "files.h"
#ifndef __linux__ #if ! (defined __linux__ && (defined(__x86_64__) || \
defined(__amd64__) || \
defined(__i386__)))
static int static int
mymain(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) mymain(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)