aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-08-30 10:41:12 -0700
committerDylan Baker <dylan@pnwbakers.com>2021-08-30 10:41:12 -0700
commitf073c3cfe16a81afbf31e85fd08603a8044c3ef1 (patch)
tree73d5a8eb82174124670d03890926e7730621f9b1 /unittests
parent78f8a286d06eb31f361d616098e59c0cfee2a911 (diff)
downloadmeson-f073c3cfe16a81afbf31e85fd08603a8044c3ef1.zip
meson-f073c3cfe16a81afbf31e85fd08603a8044c3ef1.tar.gz
meson-f073c3cfe16a81afbf31e85fd08603a8044c3ef1.tar.bz2
environment: correctly handle cpu value aarch64_be
Fixes #9191
Diffstat (limited to 'unittests')
-rw-r--r--unittests/internaltests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/unittests/internaltests.py b/unittests/internaltests.py
index de2badb..07643ed 100644
--- a/unittests/internaltests.py
+++ b/unittests/internaltests.py
@@ -1465,6 +1465,8 @@ class InternalTests(unittest.TestCase):
('amd64', 'x86_64'),
('x64', 'x86_64'),
('i86pc', 'x86_64'), # Solaris
+ ('aarch64', 'aarch64'),
+ ('aarch64_be', 'aarch64'),
]
with mock.patch('mesonbuild.environment.any_compiler_has_define', mock.Mock(return_value=False)):
@@ -1500,6 +1502,8 @@ class InternalTests(unittest.TestCase):
('mips64', 'mips64'),
('mips', 'mips'),
('mipsel', 'mips'),
+ ('aarch64', 'aarch64'),
+ ('aarch64_be', 'aarch64'),
]
with mock.patch('mesonbuild.environment.any_compiler_has_define', mock.Mock(return_value=False)):