Skip to content
Snippets Groups Projects
Commit 008e65df authored by Guido Günther's avatar Guido Günther
Browse files

New patch Skip-nodeinfo-test-on-non-intel-architectures.patch

Skip nodeinfo test on non intel architectures since the testfiles assume
a /proc/cpuinfo specific to this architecture.
parent 4e16f877
No related branches found
No related tags found
No related merge requests found
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sun, 12 Jun 2011 21:57:01 +0200
Subject: Skip nodeinfo test on non intel architectures
since the testfiles assume a /proc/cpuinfo specific to this
architecture.
---
tests/nodeinfotest.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/tests/nodeinfotest.c b/tests/nodeinfotest.c
index b4e81b3..71e2926 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)
--
......@@ -8,3 +8,4 @@ Debianize-libvirt-guests.patch
virsh-Initialize-library-before-calling-virResetLast.patch
Disable-daemon-start-test.patch
nodeinfo-remove-superfluous-braces.patch
Skip-nodeinfo-test-on-non-intel-architectures.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment