Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: use fs.stem() to get the test name #138

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

mrc0mmand
Copy link
Member

Apart from looking way nicer, it also gets rid of a deprecation warning with meson >= 1.3.0:

...
Configuring config.h using configuration
meson.build:75: DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.. Build targets in project: 3
WARNING: Broken features used:
 * 1.3.0: {'str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.'}

Docs: https://mesonbuild.com/Fs-module.html#stem

Apart from looking way nicer, it also gets rid of a deprecation warning
with meson >= 1.3.0:

...
Configuring config.h using configuration
meson.build:75: DEPRECATION: Project uses feature that was always broken, and is now deprecated since '1.3.0': str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof..
Build targets in project: 3
WARNING: Broken features used:
 * 1.3.0: {'str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.'}

Docs: https://mesonbuild.com/Fs-module.html#stem
@mrc0mmand mrc0mmand merged commit 9e448b0 into dbus-fuzzer:master Dec 20, 2023
19 checks passed
@mrc0mmand mrc0mmand deleted the meson-deprecated-feature branch December 20, 2023 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant