[master 1/1] edd_test: don't run on non-x86

vathpela installerbot-noreply at redhat.com
Thu Nov 12 14:27:49 UTC 2015


From: Peter Jones <pjones at redhat.com>

Since this doesn't make any sense on non-x86 machines anyway, and
apparently I've got some endian bugs in it (which don't really
matter...), just don't run the edd tests on non-x86.

Signed-off-by: Peter Jones <pjones at redhat.com>
---
 tests/devicelibs_test/edd_test.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/devicelibs_test/edd_test.py b/tests/devicelibs_test/edd_test.py
index f9518a2..16c0021 100644
--- a/tests/devicelibs_test/edd_test.py
+++ b/tests/devicelibs_test/edd_test.py
@@ -28,6 +28,8 @@ def load(self):
     def __repr__(self):
         return "<FakeEddEntry%s>" % (self._fmt(' ', ''),)
 
+ at unittest.skipUnless(os.uname().machine in ['i386','i686','x86_64'],
+                     reason='incompatible arch')
 class EddTestCase(unittest.TestCase):
 
     def __init__(self, *args, **kwds):


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/cd2f93b9ecb5598b4bbab1a9ac45c1379606483d


More information about the anaconda-patches mailing list