aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2020-08-19 21:55:29 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-08-20 23:49:18 +0300
commitabc3b8e9cb82195a402091499216de3b500774e5 (patch)
tree566e1942bc60a18f98f1b9d386dca502a13df91d
parent1f2150fe492e369f4d84644270b7fa86928a18b3 (diff)
downloadmeson-abc3b8e9cb82195a402091499216de3b500774e5.zip
meson-abc3b8e9cb82195a402091499216de3b500774e5.tar.gz
meson-abc3b8e9cb82195a402091499216de3b500774e5.tar.bz2
Skip nostdlib test on non-x86(_64) platforms
-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')