mirror of https://gitee.com/openkylin/libvirt.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.
This commit is contained in:
parent
30697181dc
commit
acc7080a1d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue