summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2023-07-13 10:26:14 -0700
committerEli Schwartz <eschwartz93@gmail.com>2023-10-09 17:33:48 -0400
commit013536fcb45dc40c4f592f5c5821ee6d38d331ed (patch)
treeee7cddf43778f63a5f102de1225ce62e1ff5f419 /unittests
parente24f43051255d3978002f39d08149c3088cb67f9 (diff)
downloadmeson-013536fcb45dc40c4f592f5c5821ee6d38d331ed.tar.gz
interpreter: add <lang>_(static|shared)_args
Which allow passing arguments specifically to the static or shared libraries. For design, this is all handled in the interpreter, by the build layer the arguments are combined into the existing fields. This limits changes required in the mid and backend layers
Diffstat (limited to 'unittests')
-rw-r--r--unittests/allplatformstests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index f5048837f..18ed3bf5c 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -394,7 +394,7 @@ class AllPlatformTests(BasePlatformTests):
self.init(testdir)
# Get name of static library
targets = self.introspect('--targets')
- self.assertEqual(len(targets), 1)
+ self.assertGreaterEqual(len(targets), 1)
libname = targets[0]['filename'][0]
# Build and get contents of static library
self.build()