From 2ba3c2d0da8a324ff3e38fde9003ca1aecffe84a Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Tue, 29 Apr 2025 19:51:43 +0200 Subject: unittests: smoke test the backend options Signed-off-by: Paolo Bonzini --- unittests/allplatformstests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'unittests') 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] -- cgit v1.2.3