dbus-fuzzer / dfuzzer

D-Bus fuzzer
GNU General Public License v3.0
37 stars 10 forks source link

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

Closed mrc0mmand closed 10 months ago

mrc0mmand commented 10 months ago

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