Add test skipping to disable arch specific tests conditionally
This commit is contained in:
parent
1f7b9e3922
commit
a82e876f93
8 changed files with 130 additions and 79 deletions
|
|
@ -43,9 +43,9 @@ class TestNative(TestCase):
|
|||
self.assertEqual(s, 0xab)
|
||||
|
||||
def test_assembly(self):
|
||||
if sys.platform == 'darwin':
|
||||
# skip this test on MacOSX for now
|
||||
return
|
||||
# if sys.platform == 'darwin':
|
||||
# # skip this test on MacOSX for now
|
||||
# return
|
||||
|
||||
m = self._make_module()
|
||||
output = m.to_native_assembly()
|
||||
|
|
@ -60,9 +60,9 @@ class TestNative(TestCase):
|
|||
self._compile(src)
|
||||
|
||||
def test_object(self):
|
||||
if sys.platform == 'darwin':
|
||||
# skip this test on MacOSX for now
|
||||
return
|
||||
# if sys.platform == 'darwin':
|
||||
# # skip this test on MacOSX for now
|
||||
# return
|
||||
|
||||
m = self._make_module()
|
||||
output = m.to_native_object()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue