aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index f876d06..2012542 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5054,7 +5054,8 @@ recommended as it is not supported on some platforms''')
self.build()
self.run_tests()
- @unittest.skipUnless(is_linux(), 'Requires ASM compiler currently only available on Linux CI runners')
+ @unittest.skipUnless(is_linux() and (re.search('^i.86$|^x86$|^x64$|^x86_64$|^amd64$', platform.processor()) is not None),
+ 'Requires ASM compiler for x86 or x86_64 platform currently only available on Linux CI runners')
def test_nostdlib(self):
testdir = os.path.join(self.unit_test_dir, '79 nostdlib')
machinefile = os.path.join(self.builddir, 'machine.txt')