diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-11-04 23:41:10 -0500 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-11-04 23:41:10 -0500 |
commit | 3d9936baff019f83fd2d893cd67fa2fb5a649e75 (patch) | |
tree | 70663a982dc31c38c5e1e1a8560f5be704bd74cd /libpurple/tests | |
parent | a8c72117c69d2d6083dd346a3488b9edf7620729 (diff) | |
download | pidgin-3d9936baff019f83fd2d893cd67fa2fb5a649e75.tar.gz |
Take advantage of f-strings in Meson
They were added in 0.58, which is our minimum version
https://mesonbuild.com/Syntax.html#format-strings
Testing Done:
Reconfigured, ran tests, and checked a few generated files to be sure they looked okay.
Reviewed at https://reviews.imfreedom.org/r/2033/
Diffstat (limited to 'libpurple/tests')
-rw-r--r-- | libpurple/tests/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/tests/meson.build b/libpurple/tests/meson.build index cdd9251983..fd4895f509 100644 --- a/libpurple/tests/meson.build +++ b/libpurple/tests/meson.build @@ -42,7 +42,7 @@ test_ui = static_library( testenv.set('XDG_CONFIG_HOME', meson.current_build_dir() / 'config') foreach prog : PROGS - e = executable('test_' + prog, 'test_@0@.c'.format(prog), + e = executable(f'test_@prog@', f'test_@prog@.c', c_args : [ '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()) ], |