summaryrefslogtreecommitdiff
path: root/unittests/allplatformstests.py
diff options
context:
space:
mode:
authorVolker Weißmann <volker.weissmann@gmx.de>2025-03-24 18:23:56 +0100
committerDylan Baker <dylan@pnwbakers.com>2025-05-29 09:20:27 -0700
commitcab5c8e2b73fc6084ead0f6bf61a649e0c4be1f5 (patch)
treee093fcdab64ebe07b05a422e774486f2cc404462 /unittests/allplatformstests.py
parentf042e82e6a5c18f7863cd14bf717d3d021f0c0d7 (diff)
downloadmeson-cab5c8e2b73fc6084ead0f6bf61a649e0c4be1f5.tar.gz
rewriter: Rewrite how we add/remove source files
Change the semantics of IntrospectionBuildTarget.source_nodes and IntrospectionBuildTarget.extra_files . The rewriter and the static introspection tool used to be very broken, now it is *less* broken, hence we add some tests in this commit. Fixes #11763
Diffstat (limited to 'unittests/allplatformstests.py')
-rw-r--r--unittests/allplatformstests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index b983f341c..fa6f11965 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -3612,6 +3612,8 @@ class AllPlatformTests(BasePlatformTests):
# Account for differences in output
res_wb = [i for i in res_wb if i['type'] != 'custom']
for i in res_wb:
+ if i['id'] == 'test1@exe':
+ i['build_by_default'] = 'unknown'
i['filename'] = [os.path.relpath(x, self.builddir) for x in i['filename']]
for k in ('install_filename', 'dependencies', 'win_subsystem'):
if k in i:
@@ -3730,7 +3732,7 @@ class AllPlatformTests(BasePlatformTests):
},
{
'name': 'bugDep1',
- 'required': True,
+ 'required': 'unknown',
'version': [],
'has_fallback': False,
'conditional': False