Skip to content

Instantly share code, notes, and snippets.

@apahim
Created March 22, 2017 14:24
Show Gist options
  • Select an option

  • Save apahim/42d98ee38c24a0294908096d4d335ba0 to your computer and use it in GitHub Desktop.

Select an option

Save apahim/42d98ee38c24a0294908096d4d335ba0 to your computer and use it in GitHub Desktop.
import avocado
IS_ARM = 'arm' in open('/proc/cpuinfo', 'r').read()
class MyTest(avocado.Test):
@avocado.skipIf(IS_ARM)
def setUp(self):
pass
def test1(self):
pass
def test2(self):
pass
def test3(self):
pass
...
def test1000(self):
pass
def tearDown(self):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment