[vlc-commits] [Git][videolan/vlc][master] 2 commits: meson: fix inverted test for vlc_tests disabling

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Apr 20 07:26:24 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
f8643c2c by Alexandre Janniaux at 2024-04-20T06:44:58+00:00
meson: fix inverted test for vlc_tests disabling

A test should be disabled when one of their dependencies is disabled.
Currently every test using the full list of modules is disabled because
of that.

Regression from 146a4f4cd318240590704ed2f0e132c5ee19c9ab.

- - - - -
d3f97935 by Alexandre Janniaux at 2024-04-20T06:44:58+00:00
test: meson: allow include_directories in tests

The tests were already handling the key, but it wasn't allowed.

- - - - -


1 changed file:

- test/meson.build


Changes:

=====================================
test/meson.build
=====================================
@@ -22,6 +22,7 @@ foreach vlc_test: vlc_tests
         'c_args',
         'cpp_args',
         'objc_args',
+        'include_directories',
     ]
 
     foreach key : vlc_test.keys()
@@ -45,7 +46,7 @@ foreach vlc_test: vlc_tests
                   .format(vlc_test['name'], module_name))
         endif
         test_modules_deps += vlc_plugins_targets[module_name]
-        if vlc_plugins_manifest[module_name].get('enabled', true)
+        if not vlc_plugins_manifest[module_name].get('enabled', true)
             disabled_dependencies += module_name
         endif
     endforeach



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1f6ad2919344f0baa958356472ee6d4aa7de1a34...d3f97935d6ab7d9c3a151e7cdbac4c9fc9d1a900

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/1f6ad2919344f0baa958356472ee6d4aa7de1a34...d3f97935d6ab7d9c3a151e7cdbac4c9fc9d1a900
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list