]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: Limit test-link-abi to developer mode
authorDaan De Meyer <daan@amutable.com>
Sun, 24 May 2026 12:34:55 +0000 (12:34 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 24 May 2026 13:20:58 +0000 (14:20 +0100)
This test can regress without changes on our end when
an older systemd is built against a newer glibc and
the newer glibc has an ABI break for a symbol we use
but don't dlsym(). To avoid spurious test failures for
downstream packagers, let's only run the test in developer
mode for now.

test/meson.build

index fbc88db99dd02223f2ab88a6b845f395056b27f0..fd3dba3a60093d6269d7da3a47e1434b60ed1f5d 100644 (file)
@@ -130,12 +130,15 @@ if want_tests != 'false'
         foreach _, exe : executables_by_name
                 link_abi_targets += exe
         endforeach
-        test('test-link-abi',
-             files('test-link-abi.py'),
-             args : link_abi_targets,
-             depends : link_abi_targets,
-             suite : 'dist',
-             timeout : 120)
+
+        if conf.get('BUILD_MODE_DEVELOPER') == 1
+                test('test-link-abi',
+                     files('test-link-abi.py'),
+                     args : link_abi_targets,
+                     depends : link_abi_targets,
+                     suite : 'dist',
+                     timeout : 120)
+        endif
 endif
 
 ############################################################