Branch: refs/heads/master Author: andy5995 arch_stanton5995@protonmail.com Committer: andy5995 arch_stanton5995@protonmail.com Date: Fri, 10 May 2024 14:13:13 UTC Commit: 1ae53900e616eee1415fbbb90ed1733a3a54422e https://github.com/geany/geany/commit/1ae53900e616eee1415fbbb90ed1733a3a5442...
Log Message: ----------- Fix deprecation warning about str.format() during meson setup
Each object in the list is a file object, not a string:
`ctags_tests = files([...` hence the message:
"tests/meson.build:359: 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..."
Modified Paths: -------------- tests/meson.build
Modified: tests/meson.build 8 lines changed, 4 insertions(+), 4 deletions(-) =================================================================== @@ -2,7 +2,7 @@ test_deps = declare_dependency(compile_args: geany_cflags + [ '-DG_LOG_DOMAIN="G dependencies: [deps, dep_libgeany], include_directories: '..')
-ctags_tests = files([ +ctags_tests = [ 'ctags/1795612.js.tags', 'ctags/1850914.js.tags', 'ctags/1878155.js.tags', @@ -351,12 +351,12 @@ ctags_tests = files([ 'ctags/vhdl-process.vhd.tags', 'ctags/vhdl-type.vhd.tags', 'ctags/whitespaces.php.tags' -]) +]
runner = find_program('ctags/runner.sh') foreach t : ctags_tests - test('@0@'.format(t), runner, - args: [join_paths(meson.build_root(), 'geany'), t], + test(t, runner, + args: [join_paths(meson.build_root(), 'geany'), files(t)], env: ['top_srcdir='+meson.source_root(), 'top_builddir=' + meson.build_root()]) endforeach
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).