summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-04-29 19:51:43 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2025-05-01 22:24:00 +0300
commit2ba3c2d0da8a324ff3e38fde9003ca1aecffe84a (patch)
treec4074412ee7cfff4cee0f6ba3a9e4624931a079d
parent6d134ef999683ce49b933b6c927c837a585855b1 (diff)
downloadmeson-2ba3c2d0da8a324ff3e38fde9003ca1aecffe84a.tar.gz
unittests: smoke test the backend options
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--unittests/allplatformstests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/unittests/allplatformstests.py b/unittests/allplatformstests.py
index ea220a065..0618b20ee 100644
--- a/unittests/allplatformstests.py
+++ b/unittests/allplatformstests.py
@@ -529,7 +529,8 @@ class AllPlatformTests(BasePlatformTests):
if self.backend is not Backend.ninja:
raise SkipTest(f'{self.backend.name!r} backend can\'t install files')
testdir = os.path.join(self.common_test_dir, '8 install')
- self.init(testdir)
+ # sneak in a test that covers backend options...
+ self.init(testdir, extra_args=['-Dbackend_max_links=4'])
intro = self.introspect('--targets')
if intro[0]['type'] == 'executable':
intro = intro[::-1]